qml.labs.resource_estimation¶
This module contains experimental features for resource estimation.
Warning
This module is experimental. Frequent changes will occur, with no guarantees of stability or backwards compatibility.
Resource Estimation Base Classes:¶
|
A container to track and update the resources used throughout a quantum circuit. |
|
Base class to represent quantum operators according to the set of information required for resource estimation. |
|
Instantiate a light weight class corresponding to the operator type and parameters. |
|
A class to represent a gate and its number of occurrences in a circuit or decomposition. |
Resource Estimation Functions:¶
|
Estimate the quantum resources required from a circuit or operation in terms of the gates provided in the gateset. |
|
Produce a compressed representation of the resource operator to be used when tracking resources. |
|
Set a custom function to override the default resource decomposition. |
|
Set a custom function to override the default adjoint-resource decomposition. |
|
Set a custom function to override the default controlled-resource decomposition. |
|
Set a custom function to override the default pow-resource decomposition. |
Qubit Management Classes:¶
|
Manages and tracks the auxiliary and algorithmic qubits used in a quantum circuit. |
|
Allows users to allocate clean work wires. |
|
Allows users to free dirty work wires. |
Arithmetic Operators:¶
|
Resource class for the symbolic Adjoint operation. |
|
Change of Basis resource operator. |
|
Resource class for the symbolic Controlled operation. |
|
Resource class for the symbolic Pow operation. |
|
Resource class for the symbolic Prod operation. |
Operators:¶
|
Resource class for the GlobalPhase gate. |
|
Resource class for the Hadamard gate. |
|
Resource class for the Identity gate. |
|
Resource class for the S-gate. |
|
Resource class for the T-gate. |
|
Resource class for the X-gate. |
|
Resource class for the Y-gate. |
|
Resource class for the Z-gate. |
|
Resource class for the RX gate. |
|
Resource class for the RY gate. |
|
Resource class for the RZ gate. |
|
Resource class for the Rot-gate. |
|
Resource class for the PhaseShift gate. |
|
Resource class for the SWAP gate. |
|
Resource class for the CH gate. |
|
Resource class for the CY gate. |
|
Resource class for the CZ gate. |
|
Resource class for the CSWAP gate. |
|
Resource class for the CCZ gate. |
|
Resource class for the CNOT gate. |
|
Resource class for the Toffoli gate. |
|
Resource class for the MultiControlledX gate. |
|
Resource class for the CRX gate. |
|
Resource class for the CRY gate. |
|
Resource class for the CRZ gate. |
|
Resource class for the CRot gate. |
|
Resource class for the ControlledPhaseShift gate. |
|
Resource class representing a temporary AND-gate. |
|
Resource class for the MultiRZ gate. |
|
Resource class for the PauliRot gate. |
|
Resource class for the IsingXX gate. |
|
Resource class for the IsingYY gate. |
|
Resource class for the IsingXY gate. |
|
Resource class for the IsingZZ gate. |
|
Resource class for the PSWAP gate. |
|
Resource class for the SingleExcitation gate. |
Templates:¶
|
Resource class for the OutofPlaceSquare gate. |
|
Resource class for the PhaseGradient gate. |
|
Resource class for the OutMultiplier gate. |
|
Resource class for the SemiOutAdder gate. |
|
Resource class for the BasisRotation gate. |
|
Resource class for the Select gate. |
|
Resource class for the QROM template. |
|
An operation representing the Suzuki-Trotter product approximation for the complex matrix exponential of compressed double factorized Hamiltonian. |
|
An operation representing the Suzuki-Trotter product approximation for the complex matrix exponential of tensor hypercontracted Hamiltonian. |
|
An operation representing the Suzuki-Trotter product approximation for the complex matrix exponential of vibrational Hamiltonian. |
|
An operation representing the Suzuki-Trotter product approximation for the complex matrix exponential of real-space vibronic Hamiltonian. |
|
Resource class for Qubitization of THC Hamiltonian. |
Compact Hamiltonian Class:¶
|
A compact representation for the Hamiltonian of a quantum system. |