qbraid_qir.qasm3

Module containing OpenQASM 3 QIR functionality.

Functions

qasm3_to_qir(program[, name, external_gates])

Converts an OpenQASM 3 program to a PyQIR module.

Classes

QasmQIRModule(name, qasm_module, llvm_module)

A module representing an openqasm3 quantum program using QIR.

QasmQIRVisitor([initialize_runtime, ...])

A visitor for converting OpenQASM 3 programs to QIR.

Exceptions

Qasm3ConversionError

Class for errors raised when converting an OpenQASM 3 program to QIR.