Skip to main contentIBM Quantum Documentation
This page is from an old version of Qiskit SDK. Go to the latest version.

qiskit.qasm.Qasm

class Qasm(filename=None, data=None)

GitHub

OPENQASM circuit object.

Create an OPENQASM circuit object.

__init__

__init__(filename=None, data=None)

Create an OPENQASM circuit object.


Methods

__init__([filename, data])Create an OPENQASM circuit object.
generate_tokens()Returns a generator of the tokens.
parse()Parse the data.
return_filename()Return the filename.

generate_tokens

generate_tokens()

Returns a generator of the tokens.

parse

parse()

Parse the data.

return_filename

return_filename()

Return the filename.

Was this page helpful?
Report a bug or request content on GitHub.