quiche.dispatch#
Methods and structures for dispatching to the resource and simulation backends.
Specifications#
Structures to define and dispatch phase estimation calculations.
- class QPESpec(hamiltonian, state_prep, algorithm, simulation, error_budget, seed=None, extras=<factory>)#
QPE calculation specification for simulation and resource estimates.
- get_composite_bloq()#
Estimate resources for the calculation using the qualtran backend.
- Return type:
CompositeBloq
- to_quest()#
Generate a QuEST simulation implementing the specified calculation.
- Return type:
Error budgets#
Methods to determine routine parameters according to error budgets.
Phase estimation parameters#
Methods for determining phase estimation parameters from error budgets.
- get_textbook_qpe_ancillas(e)#
Get the number of ancillas required for Textbook QPE.
- Return type:
Hamiltonian simulation parameters#
Methods for determining Hamiltonian simulation parameters from error budgets.
- get_simulation_time(paulis)#
Get the simulation time required for correct period in Trotter methods.
- Return type:
- get_qdrift_params(paulis, errors)#
Get the QDRIFT settings to simulate a given PauliSum within a set Error.
- get_trotter_params(paulis, errors)#
Get the Trotter settings to simulate a given PauliSum within a set Error.