qml.resource¶
Overview¶
The resource
module provides functionality to estimate the number of non-Clifford gates and
logical qubits required to implement advanced quantum algorithms.
Functions¶
|
Estimate the error in computing an expectation value with a given number of measurements. |
|
Estimate the number of measurements required to compute an expectation value with a target error. |
Classes¶
|
Estimate the number of non-Clifford gates and logical qubits for a quantum phase estimation algorithm in second quantization with a double-factorized Hamiltonian. |
|
Estimate the number of non-Clifford gates and logical qubits for a quantum phase estimation algorithm in first quantization using a plane-wave basis. |
|
Contains attributes which store key resources such as number of gates, number of wires, shots, depth and gate types. |
|
Base class that represents quantum gates or channels applied to quantum states and stores the resource requirements of the quantum gate. |