Repository navigation
Releases
oracq 0.5.0
oracq 0.5.0 adds optional QRAM-assisted reversible compilation. Shared phase-gradient registers reduce repeated rotation synthesis, and an explicit four-word Boolean table trades gate work for external QRAM resources. Public register interfaces, coherent phases and compressed calls/repeats are preserved; gradient preparation/cleanup and workspace remain counted. Writes and unresolved modules are rejected. Native verification uses both PySparQ adapters.
The release source entered main through normal checks. The attached official PyPI distributions have been downloaded, checked against published SHA256 hashes, and scanned for environment-specific metadata. Dependency sources and build provenance are recorded in manifest.json.
Previous commits, tags and published packages remain unchanged.
oracq 0.4.2
oracq 0.4.2 provides portable source distributions and reusable benchmark documentation.
All numerical kernels, public APIs and cloud behavior retain their validated semantics. The release source entered main through normal checks. The attached official PyPI distributions have been downloaded, checked against published SHA256 hashes, and scanned for environment-specific metadata. Dependency sources and build provenance are recorded in manifest.json.
Previous commits, tags and published packages remain unchanged.
OracQ 0.4.1
OracQ 0.4.1 lifts the 64-bit logical width cap across the RIR language and the generic algorithm interfaces, closed against the official PySparQ 0.4.0 and QRAM-Simulator 0.4.0 wheels.
- Registers, QRAM address/data widths, fixed-point formats, Fourier transforms, Boolean/affine oracles, sparse access, ODE/PDE/QData/QFVM input models, QHAM state widths, spectral phases, DQI registers, gradient packing, Carleman widths, alias tables and mathfunc indices all accept widths beyond one machine word. Native backends split widths beyond 64 bits into little-endian word sequences; module calls and Repeat structures stay unexpanded. This unblocks compile-time signal widths past 64 bits (e.g. large-plate norm probes).
- Deliberate boundaries kept and documented: the Boolean-network native C++ route stays single-word (ports <= 64 bits), VTAA round schedules stay <= 64, the studio UI budgets and the QFVM cell model bounds are unchanged, and alias precision stays 2..32.
- Validation moved from the old 0.3 overlay to the official
pysparq==0.4.0+qram_simulator==0.4.0PyPI wheels: 61 real integration tests pass (wide registers, wide/sparse QRAM, module calls, Repeat, phase, workspace), including 65/129-bit wide queries with a shared zero-controlled address bit on both adapters. - Reproduced PySparQ defect tracked, not hidden:
pysparq.run_rir(0.3.0 and 0.4.0) toggles zero-control bits around a query, so a dense QRAM whose address register shares a bit with a zero control reads the redirected cell. The gate-level adapter is correct; the defect is asserted as a tracked expected failure and documented in the backend-compatibility addendum, coordinated with the SparQSim owner. - New optional wall-time pricing:
ResourceEstimate.wall_time(...)andoracq estimate --gate-timesprice the counted ledger with user-supplied durations per gate atom, per QRAM application and per rotation axis. No uniform gate time or device calibration is built in; a counted category without a supplied time is an error, not a silent zero. The flat ledger consumed by QuantumTime is unchanged. - The frozen Roe face 8.3 verification sweeps get an explicit 2e6-step runaway guard (about 1.04e6 events), matching the existing 8e6 reference-path precedent; all 475 verification cases pass.
- The README version claim now points at the releases page instead of a stale hardcoded number.
Validation: the full engineering gate passed locally (tools/check_project.py --backend-python ... --docs: lint, types, core+schema, examples, EN/ZH Sphinx HTML and doctest with -W, real native integration, verification) plus PR CI on Python 3.11/3.12/3.13. Real-Chrome studio flows, CLI replay of downloaded artifacts and wide-integer-exact JSON round trips were exercised; the built wheel and sdist install into clean environments with the packaged compiler UI byte-identical to the source tree.
OracQ 0.4.0
OracQ 0.4.0 adds opt-in sparse QRAM memory interchange without expanding the declared address space.
dump_qram_yaml(program, memory, sparse=True)writes explicit address/value pairs as compact JSON-compatible YAML;load_qram_yamlkeeps sparse mappings. Omitted cells read zero, and integer addresses through 64 bits remain exact in the Python reader.- Dense output remains the default. The additive memory schema is 0.3; the RIR version is unchanged. Typed values, address bounds and duplicate addresses are validated.
- English and Chinese documentation and schemas are maintained together. Existing native backend execution limits remain unchanged and are tested explicitly.
Validation: all 15 engineering/documentation stages passed, including 489 core/schema tests and 1,821 subtests (five existing optional skips), plus all 56 real backend integration tests. Actual public PyPI wheel and sdist were independently installed and each passed four sparse core, six compiler-studio and two native tests. All 121 packaged production Python/UI/type-marker files and 250 sdist source/UI/schema files match the tagged source.
Source: e4dabd512473681f0be75ae6bd350101e48d577a. Normal PR and main checks passed before the immutable release tag; the publishing workflow completed successfully. Artifacts and their SHA256 hashes are attached.
OracQ 0.3.1 — Costa walk initialization and readout
Correct the Costa QLSS kernel initialization and physical success readout. The kernel now prepares the +1 initial walk eigenstate with an exact phase and maps the final a1 solution branch to the public all-zero success condition. Walks, schedules, filters, signal widths and RIR 0.1 remain compatible.
Independent regression witnesses cover Hermitian and complex nonsymmetric inverse systems, odd/even schedules, clean RHS work, coherent controls/adjoints and norm recovery. Configuration-dependent finite-step approximations remain explicit. Both language manuals describe the derivation and interfaces.
Validation: all 15 engineering stages, the complete 54-test native suite, all original 96 numerical cases, latest-head PR checks and main CI pass. The actual PyPI wheel and source archive each pass six compiler-studio tests, four Costa channel/phase/norm tests and five shared-CKS tests outside the checkout. Their 120 packaged and 246 source Python/HTML files match the release commit.
Source: 8470af7417b8031401115727ebe348f1b8c065da (immutable v0.3.1). PyPI. Attached files are the actual public distributions with SHA256SUMS and source/artifact manifest.
OracQ 0.3.0
OracQ0.3.0 reduces repeated CKS SELECT work while retaining the same polynomial, coefficient normalization, order≤128 limit and success probability. The new public cks_inverse_block shares the matrix walk and controls its binary powers: for power-of-two m terms, walk invocations fall from m² to2m−1. Non-power-of-two selectors retain identity behavior on padded branches through an uncomputed validity flag. Generic LCU and the RIR0.1 exchange format are unchanged.
Validation covers140 complete-unitary basis columns, coherent negative controls, relative phase, adjoint cleanup, shared matrix resources and actual recursive query counts. All15 project stages passed (480core/schema tests,1809subtests;5existing optional-dependency skips), including English/Chinese HTML and doctests. All96 numerical cases and53native tests passed; a second full53native run with released PySparQ0.3.0 also passed. Actual installed wheel tests cover the compiler studio and the new CKS API.
For the same public Pauli block at order128, logical workspace including lowering changes16→14 and normative Toffoli1,199,376→2,826. At order2, an independent actual lattice-surgery consumer with the same1e-6 synthesis budget reports T1,424→950 and scheduled slices18,743→11,162, with four logical qubits in both variants. The physical model is illustrative and its failure probability is uncalibrated. An order4 layout exceeded that consumer's256MiB output limit; it is not counted as complete. These results do not certify scientific-application200× speedup or the joint1000-qubit target.
Source:8b222d660bca9bd9f6ca24fcfd4e985818a2dccc. Exact-main checks passed before the immutable tag. Release attachments are actual PyPI downloads with a manifest and SHA256SUMS; previous0.2.0 remains immutable.
OracQ 0.2.0 — Compiler studio and reversible square optimization
OracQ0.2.0 adds a standalone local compiler studio and reduces reversible fixed-point square costs.
- Run
oracq guito edit bounded pure functions, compare checkpoint space/gate trade-offs at unchanged precision, and export standard compressed RIR JSON, strict modular netlists and math IR. The interface is packaged and uses no external web assets. - Repeated real operands use a dedicated square circuit with the same finite-word rounding, modular result and status semantics. At signed16/8,
return x*xdrops1098→616 logical qubits and3224→1694 Toffoli gates; the math-IR reference includes matched-format tables and reproduction code. - Release and regular CI install the actual wheel into a clean environment, verify packaged assets/metadata/CLI and execute real compiler/HTTP-worker tests. Publishing is triggered once by the version tag.
The source commit is defb81404b4bef6a25206d52130aa565352291fe, validated on Python3.11/3.12/3.13 with bilingual documentation and real native-backend cross-checks. The RIR format remains0.1. Core installation requires no quantum backend SDK; execution backends remain optional. Compiler resource reductions are not an end-to-end application speedup or numerical-accuracy certificate.