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.

Classes

DoubleFactorization(one_electron, two_electron)

Estimate the number of non-Clifford gates and logical qubits for a quantum phase estimation algorithm in second quantization with a double-factorized Hamiltonian.

FirstQuantization(n, eta, omega[, error, …])

Estimate the number of non-Clifford gates and logical qubits for a quantum phase estimation algorithm in first quantization using a plane-wave basis.