Skip to main content
IBM Quantum Platform
This page is from an old version of Qiskit SDK and does not exist in the latest version. We recommend you migrate to the latest version. See the release notes for more information.

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.