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


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.