Skip to content

Releases

RCC RefCert 0.4.0

Choose a tag to compare

@yeruciwenrou-dotcom yeruciwenrou-dotcom released this 27 Nov 17:42
Immutable release. Only release title and notes can be modified.
4f049c3

You can now plan a measurement around the preparation cost you want to rule out and bound differences in RCC between states measured in the same classical window.

  • Design a measurement and certify a lower bound. Given a response or cost threshold and an expected hit rate, find the number of shots to take and which hit counts would certify that threshold. Use the same binary measurement on the target and reference, or supply a known reference response. The calculation can account for known false-positive and false-negative rates.
  • Compare window RCC from counts. Use the counts for every outcome of a projective measurement to put confidence bounds on RCC in the measured classical window. With two states, the interval for their difference shows which has the higher reading whenever it excludes zero. For a containing quantum window, the measurement gives a lower bound for each state. If a projection retains only part of the sample, you can weight its contribution by the probability of retaining a shot.
  • Compare measurement settings and preparation programs. With the default simulated counts for the noisy six-qubit cluster state, either local setting alone certifies at least one slot. Combining the two raises the lower bound to two slots. In the cooling study, a six-slot program is optimal for the full three-qubit target at trace-distance tolerance 1/50. Joint counts track the target and bath before and after the final refresh. Both studies accept raw counts or joint Qiskit readouts and can be recomputed from a shared bundle. The IBM Vigo example uses archived five-qubit counts to check which bit belongs to each qubit.
  • See which gain certificate supports a cost bound. An empty or invalid certificate now gives a diagnostic for the submitted input. To try the automatic certificate as well, set on_gain_failure to "auto". The report records the original diagnostic and the certificate actually used. Cost requests reject exact numbers with repeated signs. Terminal-state requests identify normalized trace distance as the required error measure.

Terminal reports give the circuit lower bound in atomic slots and the calibrated one-shot reading in R-structons. For exact spectra they show how spectral skew raises the unsmoothed information and how much smoothing removes. Exact binomial analysis accepts up to 4,096 observations per sampled arm. Cooling reports give target, bath, joint and correlation intervals at each stage. Window exports now include global readings, partition correlations and the lower bound after accounting for discarded shots. Use cost analyze --plot or --csv on a trajectory. On bound spectrum and bound counts, use --output to save the report. In a known-state or trajectory CSV, filter on kind == "subsystem" for the subsystem rows exported by 0.3.0. Read the calibrated value for every row from reading_st_R and its meaning from kind.

Cost comparisons now identify the model, complete target, tolerance and maximum remaining saving for the program attaining the upper endpoint. In the half-erasure benchmark, the reachable states give an independent check on the optimal cost. Window reports give the uniform reference, number of action classes and conversion to R-structons. State-window and numerical-model inputs now require an integer action-class count of at least two. Shared cost and state-window bundles identify the software that calculated the saved result across versions.

Use 0.4.0 or later to verify the new finite-data bundles and cost requests that specify on_gain_failure. The compatibility table lists the earliest reader for each bundle.

rcc-refcert 0.3.0

Choose a tag to compare

@yeruciwenrou-dotcom yeruciwenrou-dotcom released this 15 Nov 14:40
Immutable release. Only release title and notes can be modified.
1450fa7

Version 0.3.0 adds preparation-cost intervals and subsystem RCC complexity profiles, and extends complete evidence sharing to these workflows.

What is new

  • Preparation-cost intervals. For exact diagonal-preserving models, combine a rigorous lower bound with the cost of a successful candidate program. Compare candidates for the same target and scan the allowed error. Editable reset and cooling examples show matching bounds and open gaps, with halt included in the cost.
  • Subsystem complexity profiles. Use window RCC to compare pure and mixed states, separate local and correlation contributions under a common reference and control bandwidth, or follow a preparation trajectory. Three editable probes and a workflow notebook provide starting points.
  • Independent recomputation. Save the new cost and window calculations in complete analysis bundles. Recipients can recompute the results and compare them with the original evidence. Reports support text, JSON and Markdown; subsystem profiles also export to CSV and optional plots.

Install and explore

Requires Python 3.10 or later.

python -m pip install "rcc-refcert==0.3.0"
python -m rcc_refcert reproduce --check

Start with the cost and window guide, explore the workflow notebook, or read the complete toolkit overview.

Compatibility

Existing model, reference-certificate and terminal-state interfaces remain available. Model/certificate bundles from 0.2.0 (container schema 1) remain readable and verifiable. New cost/window bundles use container schema 2 and require 0.3.0 or later. Frozen reference values are unchanged.

The changelog also explains migration for numerical-model exports from early development builds.

Archive and citation

The immutable source archive is available on Zenodo: 10.5281/zenodo.24248347. Cite this software version alongside the associated RCC paper.

rcc-refcert 0.2.0

Choose a tag to compare

@yeruciwenrou-dotcom yeruciwenrou-dotcom released this 24 Oct 20:23
Immutable release. Only release title and notes can be modified.
7d698a4

Build, share and reverify a complete analysis

rcc-refcert 0.2.0 adds linear Bellman–Choi candidate preparation for supported finite-control quantum models and complete analysis bundles for independent numerical revalidation.

  • Prepare an H.3 candidate, inspect numerical diagnostics, and verify the certificate independently.
  • Share the model matrices, H.3/H.4 proof objects, numerical controls and target-bound requests in one .rccbundle file. A recipient can check the evidence using the installed package without the original modeling script.
  • Compare fresh certificate constants and recomputed bounds with historical results, preserving the original bundle and counts acquisition protocol.
  • Explore the alternating-qubit and four-qubit cyclic-reset workflows, including a one-parameter model change and a complete recipient handoff.

Resource preflight covers direct verification and bundle import. Historical reports with contradictory checks or inconsistent certificate constants are rejected before fresh matrix verification. CLI reports explain when new checks leave historical results unsupported, including cases where the integer bound remains unchanged.

Install and try

Requires Python 3.10 or newer.

python -m pip install "rcc-refcert==0.2.0"
python -m rcc_refcert reproduce --check

Expect three MATCH checks. See the README, custom-model guide, and recipient guide.

Compatibility and evidence

Frozen reference calculations and the bound-record v2 meaning are preserved. Exact scalar replay uses the original producing package version; complete bundles support fresh matrix verification and a separate comparison report. The calculations provide numerical evidence for declared finite models and conditional terminal-state bounds, under the documented scientific premises.

The release is checked across Python 3.10–3.14, Windows and macOS entry points, both notebooks, and wheel/sdist installations outside a source checkout. The changelog records the full user-visible changes.

Archive and citation

The immutable source archive is available on Zenodo: 10.5281/zenodo.23625478. Cite this software version alongside the associated RCC paper.

rcc-refcert 0.1.3

Choose a tag to compare

@yeruciwenrou-dotcom yeruciwenrou-dotcom released this 15 Sep 12:08
Immutable release. Only release title and notes can be modified.
ff5122c

This release updates the documentation and examples for version 4 of the RCC manuscript.

  • Update the paper references to Eq. (III.1) and the audit-record requirements in Appendix D.6.
  • Add a runnable H.3 certificate-to-bound example to the terminal-state guide and notebook, showing the propagated upper constant, numerical evidence and scalar replay.
  • Clarify reference-dependent resource accounting, the scope of model qualification, and the expected reference-check outcomes.

The numerical algorithms, calculated bounds and record schemas are unchanged from 0.1.2. New records carry the 0.1.3 producer version; replay records saved with 0.1.2 using that package version.

Install this release and verify the bundled reference results:

python -m pip install --upgrade "rcc-refcert==0.1.3"
python -m rcc_refcert reproduce --check

See the terminal-state guide, changelog and paper-to-code map.

rcc-refcert 0.1.2

Choose a tag to compare

@yeruciwenrou-dotcom yeruciwenrou-dotcom released this 11 Sep 17:05
Immutable release. Only release title and notes can be modified.
54bc7f5

This release connects declared terminal-state information to conditional lower bounds on quantum state preparation cost within an RCC model.

  • Compute bounds from complete exact spectra or predeclared fixed-projector counts, using conservative scalar enclosures and explicit atomic-slot units.
  • Bind freshly verified H.3/H.4 certificates to target-state tasks while preserving their propagated upper constants and numerical evidence level.
  • Save inputs, protocols and calculation results in versioned records, and replay scalar calculations with the same package version. Installed templates and a second Jupyter tutorial cover both input routes.
  • Make certificate binding consistent with matrix budgets, avoid unused continuation steps in truncated sums, and preserve record generation for extreme accepted exact inputs.
  • Refresh reused quickstart environments when the package version changes and check paired JSON/Markdown reference evidence at canonical locations.

The existing reference cases retain their numerical results and expected outcomes. Terminal-state bounds remain conditional on the declared model; sampling coverage applies to the fixed-projector measurements. Matrix certificates retain their numerical evidence level.

Install or upgrade:

python -m pip install --upgrade rcc-refcert
python -m rcc_refcert reproduce --check

For this exact release, install rcc-refcert==0.1.2. See the terminal-state guide, changelog and paper-to-code map.

rcc-refcert 0.1.1

Choose a tag to compare

@yeruciwenrou-dotcom yeruciwenrou-dotcom released this 06 Sep 21:15
Immutable release. Only release title and notes can be modified.
1e01ddc

Patch release for numerical reliability and predictable behavior on small research models.

  • Propagate fixed-point assembly and solve errors to the output and reference-scaled constant; return inconclusive when precision is unresolved.
  • Keep H.34 point estimates separate from certificate upper bounds, and treat uncertain support conservatively for rank-deficient reference states.
  • Apply the caller's tolerance consistently; reject empty Kraus branches and unsupported codeword weights.
  • Check configurable enumeration and dense-matrix budgets before expensive work.

The reference cases retain their numerical results and expected outcomes. Validation includes 174 tests, reference reproduction, distribution checks, Python 3.10–3.14, and Windows/macOS entry-point checks.

Install with python -m pip install --upgrade rcc-refcert or pin rcc-refcert==0.1.1.

See the changelog and output contract for details.

rcc-refcert v0.1.0

Choose a tag to compare

@yeruciwenrou-dotcom yeruciwenrou-dotcom released this 06 Sep 16:18
Immutable release. Only release title and notes can be modified.
ab291f0

rcc-refcert is a Python research toolkit for structure-fair quantum circuit complexity. This initial release makes finite-control quantum-process models explicit and connects them to reproducible reference-certificate checks.

What you can do

  • Build prefix-controlled models and compute terminating program semidensities, including models with nonhalting sectors.
  • Check fixed-model reference domination, Bellman–Choi and reference-potential certificates, and reference gain–cost assignments.
  • Explore three reference cases and a worked paired-reset example whose RCC lower bound of one slot is attained by an explicit one-slot preparation.
  • Construct new research inputs through the Python API, inspect versioned JSON reports, and work through a guided Jupyter notebook.

Numerical reports distinguish candidate constants from usable upper bounds. Checks can remain inconclusive, including for some valid certificates; unresolved checks provide no usable constant. See the output contract for the reporting rules.

Get started

Download the source archive, extract it, and run python3 quickstart.py from the directory containing the script. Use python quickstart.py if your supported Python interpreter is named python. The quickstart creates an isolated environment, runs the tests, and reproduces the reference results.

Python 3.10–3.14 is supported, with verified entry points on Linux, Windows, and macOS. See the README for installation and individual commands.

Paper and scope

The implementation follows manuscript version 4, being prepared as the next revision; the public paper is currently arXiv:2509.18205v3. The paper-to-code map explains the correspondence. Numerical checks provide evidence for declared finite models; the paper supplies the physical and analytic premises of the general RCC framework.

Released under the MIT License. If you use the toolkit, cite both the software and the paper using CITATION.cff.