qiskit-documentation/docs/api/qiskit/0.26/qasm.mdx

34 lines
1.5 KiB
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
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. |