Program.is_protoquil

Program.is_protoquil()[source]

Protoquil programs may only contain gates, Pragmas, and RESET. It may not contain classical instructions or jumps.

Returns:True if the Program is Protoquil, False otherwise