Skip to main contentIBM Quantum Documentation
You are viewing the API reference for an old version of Qiskit SDK. Switch to latest version

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(opens in a new tab)

OPENQASM circuit object.

Create an OPENQASM circuit object.


Pygments

OpenQASMLexer

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

GitHub(opens in a new tab)

A pygments lexer for OpenQasm.

QasmHTMLStyle

class qiskit.qasm.QasmHTMLStyle

GitHub(opens in a new tab)

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

QasmTerminalStyle

class qiskit.qasm.QasmTerminalStyle

GitHub(opens in a new tab)

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

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