qbraid.programs
Module containing quantum circuit wrapper classes providing uniform suite of methods and functionality for supported program types.
Data Types
- QPROGRAM_REGISTRY = Maps aliases of quantum program types to their respective Python type objects.: dict[str, Type[Any]]
|
Abstract metaclass for custom program type checking based on built-in types. |
|
Marker class for dict that are valid IonQ JSON formatted programs. |
Marker class for strings that are valid OpenQASM 2 programs. |
|
Marker class for strings that are valid OpenQASM 3 programs. |
|
|
Enumeration for quantum experiment types. |
Functions
|
Apply qbraid quantum program wrapper to a supported quantum program. |
|
Get the type alias of a quantum program from registry. |
|
Registers a user-defined program type under the specified alias. |
|
Unregisters the program type associated with the given alias. |
Classes
|
Base class used to register program type and type alias. |
|
Abstract class for qbraid program wrapper objects. |
Exceptions
|
Class for errors raised due to unsupported quantum frontend package |
|
Exception raised for errors encountered with unsupported quantum programs. |
|
Custom exception for validation errors in program types. |
For errors raised while processing OpenQASM programs. |
|
Base class for errors raised during qBraid transform processes. |
|
Raised when an error occurs while loading a quantum program. |
Submodules
Module containing sub-modules for interfacing with various quantum software libraries and program types. |
|
Module containing sub-modules for interfacing with various quantum software libraries and program types. |
|
Module containing sub-modules for interfacing with various quantum software libraries and program types. |