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:¶
|
Contains attributes which store key resources such as number of gates, number of wires, and gate types. |
|
Instantiate the light weight class corresponding to the operator type and parameters. |
Abstract class that defines the methods a PennyLane Operator must implement in order to be used for resource estimation. |
Resource Object Functions:¶
|
Add two resources assuming the circuits are executed in series. |
|
Add two resources assuming the circuits are executed in parallel. |
|
Multiply the resources by a scalar assuming the circuits are executed in series. |
|
Multiply the resources by a scalar assuming the circuits are executed in parallel. |
|
Replaces a specified gate in a |
Operators¶
|
Resource class for the CCZ gate. |
|
Resource class for the CH gate. |
|
Resource class for the CNOT gate. |
|
Resource class for the ControlledPhaseShift gate. |
|
Resource class for the CRot gate. |
|
Resource class for the CRX gate. |
|
Resource class for the CRY gate. |
|
Resource class for the CRZ gate. |
|
Resource class for the CSWAP gate. |
|
Resource class for the CY gate. |
|
Resource class for the CZ gate. |
|
Resource class for the DoubleExcitation gate. |
|
Resource class for the FermionicSWAP gate. |
|
Resource class for the GlobalPhase gate. |
|
Resource class for the Hadamard gate. |
|
Resource class for the Identity gate. |
|
Resource class for the IsingXX gate. |
|
Resource class for the IsingXY gate. |
|
Resource class for the IsingYY gate. |
|
Resource class for the IsingZZ gate. |
|
Resource class for the MultiControlledX gate. |
|
Resource class for the MultiRZ gate. |
|
Resource class for the PauliRot gate. |
|
Resource class for the PhaseShift gate. |
|
Resource class for the PSWAP gate. |
|
Resource class for the Rot gate. |
|
Resource class for the RX gate. |
|
Resource class for the RY gate. |
|
Resource class for the RZ gate. |
|
Resource class for the S gate. |
|
Resource class for the SingleExcitationMinus gate. |
|
Resource class for the SingleExcitationPlus gate. |
|
Resource class for the SWAP gate. |
|
Resource class for the T gate. |
|
Resource class for the Toffoli gate. |
|
Resource class for the X gate. |
|
Resource class for the Y gate. |
|
Resource class for the Z gate. |
Symbolic Operators¶
|
Resource class for the Adjoint symbolic operation. |
|
Resource class for the Controlled symbolic operation. |
|
Resource class for the Pow symbolic operation. |
Templates¶
|
Resource class for QFT. |
Tracking Resources¶
|
Obtain the resources from a quantum circuit or operation in terms of the gates provided in the gate_set. |
Exceptions¶
Exception to be raised when a |