qbraid_qir.qasm3

Module containing OpenQASM 3 QIR functionality.

Functions

qasm3_to_qir(program[, name])

Converts an OpenQASM 3 program to a PyQIR module.

validate_qasm(program)

Validates a given OpenQASM 3 program for semantic correctness.

Classes

Qasm3Module(name, module, num_qubits, ...)

A module representing an openqasm3 quantum program using QIR.

BasicQasmVisitor([initialize_runtime, ...])

A visitor for basic OpenQASM program elements.

Exceptions

Qasm3ConversionError

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