pyqasm
Top level module containing the main PyQASM functionality.
Functions
|
Loads an OpenQASM program into a QasmModule object. |
|
Loads an OpenQASM program into a QasmModule object. |
|
Dumps the QasmModule object to a file. |
|
Dumps the QasmModule object to a string. |
Classes
|
A module representing an openqasm3 quantum program. |
|
A module representing an openqasm2 quantum program. |
|
Abstract class for a Qasm module |
Exceptions
Base exception for all PyQASM exceptions. |
|
Exception raised when a OpenQASM program fails validation. |
|
An error raised by the AST visitor during the AST-generation phase. |