Changelog¶
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Effort-based versioning.
Unreleased¶
Changed¶
robust_phase_estimation: replacedepsilonwithn_repetitions, removedsign_E0, added anrngargument for deterministic sampling, added at0argument setting the base evolution time, and changed thetrotter_orderdefault from 2 to 1. The estimated phase is nowE0 * t0, so the energy is recovered astheta / t0. The returned list now has lengthn_repetitions(no leading placeholder).run_hadamard_test/rpe_get_hadamard_output: replacedseedwith anrng(numpy.random.Generator) argument.build_hadamard_test_circuit/run_hadamard_test: renamed thethetaargument tophase_gate_angle.rpe_get_hadamard_output: renamed themargument toevolution_time. It now takes the evolution time itself instead of the exponentm; callers passingmpositionally must pass2**mto keep the previous behaviour.Renamed
rpe_distancetoangular_distance; it is now vectorized.rpe_update_theta: signature changed to(phi_m, theta_ref, m), now returning a single angle.optunadependency moved from core dependency to recommended.draw_layered_circuit/draw_layered_expval: replaced thelist_namesargument with three keyword-only argumentsstate_label,labels_1qubitandlabels_2qubit. A label list shorter than the circuit depth now raisesValueErrorinstead of failing with anIndexErrorwhile drawing.
Removed¶
rpe_distance(renamed toangular_distance).hyperoptimizationexample and all QAOA-related code:examples/hyperoptimization.py,src/qpe_toolbox/circuit/qaoa.pyandtests/test_qaoa.py. This removesbrute_force_maxcut,compute_qaoa_contraction_costsandstudy_optimization_time_costsfromqpe_toolbox.circuit.two_qubit_rand_layer: thereverseargument. It only changed the order in which overlapping gates were applied, and never the control direction its documentation claimed.
Fixed¶
draw_layered_expval: two-qubit layer labels were indexed in the opposite direction to single-qubit ones, so the two label lists disagreed on which layer they were naming.draw_layered_circuit/draw_layered_expval: unlabelled diagrams drew['']next to every qubit instead of nothing.
1.1.0 - 2026-04-02¶
Changed¶
misc documentation improvement.
qiskit-aerswitched from test group to core dependency.kahyparswitched from core to optional dependency.cotengrustadded as optional dependency.
1.0.0 - 2026-03-18¶
Added¶
Initial public release of
qpe-toolbox.circuitmodule:quimbcircuit construction, parametrized circuits, QAOA, gate counting, serialization, and plotting.hamiltonianmodule:Hamiltonianclass, spin models,pyscfinterface for molecular chemistry, fermionic encodings viaopenfermion.estimationmodule: textbook and robust QPE variants, LCU walk operators, block encoding, QFT, Hadamard test.tensormodule: MPS/MPO utilities beyond whatquimbprovides natively.Sphinx documentation deployed to GitHub Pages.
Full test suite with ≥ 70 % branch coverage.
CI/CD workflows for testing and PyPI publishing.