Qasm
class Qasm(filename=None, data=None)
OPENQASM circuit object.
Create an OPENQASM circuit object.
Methods
generate_tokens
Qasm.generate_tokens()
Returns a generator of the tokens.
get_tokens
Qasm.get_tokens()
Deprecated. Use generate_tokens().
parse
Qasm.parse()
Parse the data.
return_filename
Qasm.return_filename()
Return the filename.
Was this page helpful?
Report a bug or request content on GitHub.