Skip to main contentIBM Quantum Documentation
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.

Qasm

class Qasm(filename=None, data=None)

GitHub

Bases: object

OPENQASM circuit object.

Create an OPENQASM circuit object.


Methods

generate_tokens

Qasm.generate_tokens()

Returns a generator of the 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.