quil.validation.identifier

class IdentifierValidationError(quil.QuilError):

Errors that may occur when validating a Quil identifier.

Inherited Members
builtins.Exception
Exception
builtins.BaseException
with_traceback
add_note
args
def validate_identifier(ident: str) -> None:

Returns an error if the given identifier is not a valid Quil Identifier.

def validate_user_identifier(ident: str) -> None:

Returns an error if the given identifier is reserved, or if it is not a valid Quil identifier