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

qiskit.qasm

Deprecated since version 0.46.0

The qiskit.qasm module has been deprecated and superseded by the qiskit.qasm2 module which provides a faster more correct parser.


QASM Routines

Qasm

class qiskit.qasm.Qasm(filename=None, data=None)

GitHub

OPENQASM circuit object.

Create an OPENQASM circuit object.


Pygments

OpenQASMLexer

class qiskit.qasm.OpenQASMLexer(*args, **kwds)

GitHub

A pygments lexer for OpenQasm.

QasmHTMLStyle

class qiskit.qasm.QasmHTMLStyle

GitHub

A style for OpenQasm in a HTML env (e.g. Jupyter widget).

QasmTerminalStyle

class qiskit.qasm.QasmTerminalStyle

GitHub

A style for OpenQasm in a Terminal env (e.g. Jupyter print).

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