qbraid.interface.qbraid_qasm package
Submodules
qbraid.interface.qbraid_qasm.circuits module
Module containing qasm programs used for testing
Returns OpenQASM2 15 gate test circuit.
- Return type
str
Returns OpenQASM 2 15 gate test circuit with no gate defs.
- Return type
str
qbraid.interface.qbraid_qasm.qasm_preprocess module
Module for preprocessing qasm string to before it is passed to parser.
- convert_to_supported_qasm(qasm_str)[source]
Dev version of convert_to_supported_qasm function, compatible with qiskit>=0.43.0. Returns a copy of the input QASM compatible with the
QasmParser
. Conversion includes deconstruction of custom defined gates, and decomposition of unsupported gates/operations.
qbraid.interface.qbraid_qasm.qelib1_defs module
Module that implements qelib1.inc qasm gate definitions as python functions