No definitely not. I've never seen a patent include code. They're more likely to describe IP in a work flow diagram.
How do patents relate to this copyright question?
How do patents relate to this copyright question?