Changelog#
0.1.0#
Released 2026-09-13.
Added#
Added
py.typedmarker for type checkers.Added
qpe::getEnergyFromTrotterPhaseandqpe::getEnergyFromQubitisationPhasefunctions for converting a QPE phase to an energy.Added
logical_rotations_to_tgatestoquiche.resourcesexports.Added
PauliSum.has_identity,PauliSum.n_terms_with_identity,PauliSum.without_identity()andPauliSum.split_identity().Added
SecondQuantisedHamiltoniantoquiche.corefor electronic integrals.Added
quiche.io.fcidumpfor reading FCIDUMP integral files.Added
openfermionas a dependency.Added
pyquichepackage to PyPI, with prebuilt, multithreaded wheels for Linux, macOS and Windows (GPU, MPI and single/quad precision builds still require building from source).
Changed#
Renamed
applyMultiStateControlledPhaseShifttoapplyMultiQubitStatePhaseShiftandapplyMultiStateControlledQubitPhaseFliptoapplyMultiQubitStatePhaseFlip.Changed
quichesubmodule imports to lazy imports.Deferred
cirqimport inquiche.coretoPauliWord.to_cirq().Enabled bytecode compilation for
uvinstalls.Raised minimum build requirements to CMake 3.26, scikit-build-core 1.0, and nanobind 2.10.
Pinned fetched C++ dependencies (QuEST, Catch2, nanobind) using checksummed release archives where applicable.
Exposed namespaced C++ library target
quiche::quiche.Moved
pyproject.tomlto the repository root.Improved Windows build compatibility.
.controlled()onPauliWordRotation,QDRIFTandTrotterisationnow constructs the same bloq but withis_controlled=Truerather than a separate class.PauliWordRotationnow validates its target qubit range on construction rather than on decomposition.Tightened
PauliWordvalidation to reject repeated target qubits.Tightened
PauliSumvalidation to require at least one term.Added electron and qubit count validation to
getHartreeFockStateJW,getHartreeFockStateBKandgetHartreeFockStateParity.Made
cloneWithoutIdentityrejectPauliStrSums containing only identity terms.Renamed the
QuESTEnvbinding methodssyncQuESTEnvandisQuESTEnvInittosyncandisInit.Added missing
constqualifiers to the control arguments ofapplyMultiControlledCoeffsPrepandapplyMultiControlledPauliStrSumPrep.PauliSum.identity_coefficientnow defaults to0.0.PauliSum.lamis now the 1-norm of the whole operator (including the identity coefficient).PauliSum.to_quest()now includes the identity term rather than dropping it. CallPauliSum.without_identity()first to recover the previous behaviour.Changed
QDRIFTsampling to use its ownnumpygenerator, requiring an explicit integerseed(sampled terms will differ for a given seed from previous sampling).QPESpecnow takesseedas a field rather than anextrasentry (required when simulating withQDRIFT).PrepareFromStatePrepnow exposes the phase gradient as a junk register, adding aphase_gradientregister to the block encoding signature.QDRIFTandTrotterisationnow reject a zero evolution time.Moved
quiche.hamlibinto the newquiche.iosubpackage.Renamed
hamlib.get_datasetandhamlib.parse_hamiltoniantohamlib.read_datasetandhamlib.parse.Renamed the package from
quichetopyquicheto avoid PyPI clash (the import namequicheis unchanged).
Removed#
Removed the C++ Hamlib module (keeping just the Python one), along with the corresponding example and unit tests.
Removed the
QUICHE_BUILD_HAMLIBbuild flag and the HDF5 dependency for the C++ backend.Removed
CTRLPauliWordRotation,CTRLQDRIFTandCTRLTrotterisation(use.controlled()on the corresponding bloq instead).Removed the (empty)
quiche.dispatch.budget.state_prepmodule.Removed the dangling
StatePrepentry fromquiche.core.__all__.Removed
QDRIFT.sample_term_indices()(use thesampled_indicesproperty instead).
Fixed#
Removed zero-count sub-bloqs from call graphs.
Fixed
QDRIFTincorrectly ignoring a0seed.Fixed Python stable-ABI wheel builds (added missing
Development.SABIModulecomponent).Fixed
get_bk_stateraisingIndexErrorfor single-orbital systems.Fixed
get_jw_statereturning its input rather than an integer array as its signature declares.Fixed incorrectly bound
QuESTEnv.syncandQuESTEnv.isInit.Rebound
PauliStrSum.fromFile,PauliStrSum.fromReversedFileand theQuregcreation methods (createDensityQureg,createForcedQureg,createForcedDensityQuregandcreateCustomQureg) as static methods.Fixed
QDRIFTdropping the evolution time from the identity term’s global phase.Fixed
QDRIFTsampling from the globalrandomstate.Fixed
LCUBlockEncodingWrapperdiscarding the signs of negative coefficients.Fixed
LCUBlockEncodingWrapperincluding the phase gradient qubits in the index register for SELECT.
0.0.1#
Released 2026-06-30.
Added#
Initial public release