qbraid_qir.qasm3.QasmQIRModule
- class QasmQIRModule(name, qasm_module, llvm_module)[source]
A module representing an openqasm3 quantum program using QIR.
- Parameters:
name (str) – Name of the module.
qasm_module (pyqasm.elements.Qasm3Module) – The pyqasm qasm3 module.
llvm_module (pyqir.Module) – The QIR module.
Methods
__init__
(name, qasm_module, llvm_module)accept
(visitor)Attributes
llvm_module
Returns the QIR Module instance.
name
Returns the name of the module.
qasm_program
Returns the QASM3 program.