34 lines
1.5 KiB
Plaintext
34 lines
1.5 KiB
Plaintext
---
|
||
title: qasm (v0.26)
|
||
description: API reference for qiskit.qasm in qiskit v0.26
|
||
in_page_toc_min_heading_level: 2
|
||
python_api_type: module
|
||
python_api_name: qiskit.qasm
|
||
---
|
||
|
||
<span id="module-qiskit.qasm" />
|
||
|
||
<span id="qiskit-qasm" />
|
||
|
||
<span id="qasm-qiskit-qasm" />
|
||
|
||
# Qasm
|
||
|
||
`qiskit.qasm`
|
||
|
||
## QASM Routines
|
||
|
||
| | |
|
||
| ------------------------------------------------------------------- | ---------------------------------------------------- |
|
||
| [`Qasm`](qiskit.qasm.Qasm "qiskit.qasm.Qasm")(\[filename, data]) | OPENQASM circuit object. |
|
||
| [`QasmError`](qiskit.qasm.QasmError "qiskit.qasm.QasmError")(\*msg) | Base class for errors raised while parsing OPENQASM. |
|
||
|
||
## Pygments
|
||
|
||
| | |
|
||
| ------------------------------------------------------------------------------------------ | -------------------------------------------- |
|
||
| [`OpenQASMLexer`](qiskit.qasm.OpenQASMLexer "qiskit.qasm.OpenQASMLexer")(\*args, \*\*kwds) | A pygments lexer for OpenQasm. |
|
||
| [`QasmHTMLStyle`](qiskit.qasm.QasmHTMLStyle "qiskit.qasm.QasmHTMLStyle")() | A style for OpenQasm in a HTML env (e.g. |
|
||
| [`QasmTerminalStyle`](qiskit.qasm.QasmTerminalStyle "qiskit.qasm.QasmTerminalStyle")() | A style for OpenQasm in a Terminal env (e.g. |
|
||
|