qp.resource¶
The resource module provides classes and functionality to track the quantum resources
(number of qubits, circuit depth, etc.) required to implement advanced quantum algorithms.
Circuit Resource Profiling¶
|
Provides a resource estimate of a quantum circuit with respect to the provided compilation target, via rapid analysis of decomposition pathways. |
|
Provides a compile-time resource estimate of a quantum circuit, obtained by analyzing its intermediate representation at the specified compilation level. |
|
Executes a quantum circuit and tracks the resources it uses. |
|
Provides the specifications of a quantum circuit. |
Circuit Specification Classes and Utilities¶
|
Class for storing specifications of a qnode. |
|
Internal class for representing symbolic expressions of resources. |
|
Base class for storing resource information. |
|
Class for storing resource information for a quantum circuit. |
|
Class for storing resource information for a quantum circuit with additional PBC (Pauli-Based Computation) information. |
|
Extracts the resource information from a quantum circuit (tape). |