QUICHE#
QUantum Integrated CHEmistry is a toolkit for studying quantum computing algorithms for quantum chemistry, with a focus on ground-state energy calculations via quantum phase estimation (QPE).
The main entry point to QUICHE is a QPESpec object, which describes the target chemical system, phase estimation circuit and Hamiltonian simulation method. It then dispatches to either of two backends:
a resource estimation backend built on Qualtran, which decomposes the calculation into its subroutines and counts the logical qubits and gates it would need.
a simulation backend built on QuEST, which executes the calculation as a state-vector simulation and returns the estimated phase.
Warning
This project is in early active development and should not be considered production-ready.
Breaking changes may occur without notice before v1.0.
Getting started#
How to install QUICHE, including the C++ simulator bindings.
Go from a Hamiltonian to a resource estimate and a simulated phase in a few lines.
Every public module, class and function in the quiche package.
Features#
A range of quantum phase estimation algorithms including single- and multi-ancilla methods.
A wide variety of Hamiltonian simulation techniques, such as Suzuki–Trotter, QDRIFT and qubitisation.
Extensible, Python-based resource estimation tooling.
High-performance simulation capabilities.
Usage#
Going from a Hamiltonian to a logical resource estimate:
from quiche.io import hamlib
from quiche.core import (
ElectronicHamiltonian,
Errors,
Mapping,
PhaseEstimation,
Simulation,
)
from quiche.chemistry import HartreeFockState
from quiche.dispatch import QPESpec
from quiche.resources.logical import logical_gate_resources, logical_qubit_resources
paulis = hamlib.parse(hamlib.read_dataset("H2.hdf5", "ham_JW-4"))
spec = QPESpec(
hamiltonian=ElectronicHamiltonian(
electrons=2,
paulis=paulis,
mapping=Mapping.JordanWigner,
),
state_prep=HartreeFockState.closed_shell(electrons=2, spin_orbitals=4),
algorithm=PhaseEstimation.Textbook,
simulation=Simulation.Qubitised,
error_budget=Errors(
estimation=1e-3,
simulation=1e-3,
rotations=1e-4,
state_prep=1e-4,
overlap=0.90,
),
)
bloq = spec.get_composite_bloq()
print(logical_qubit_resources(bloq), logical_gate_resources(bloq))
Funding#
QUICHE is a UK–Germany collaboration between Quantum Motion, FACCTs (developers of ORCA) and Riverlane, supported by Innovate UK and Germany’s ZIM via the QUantum-Integrated CHEmistry (QUICHE) project. See the project announcement for background on its aims.