Skip to content

Releases: PECOS-packages/PECOS

py-0.9.0.dev0

py-0.9.0.dev0 Pre-release
Pre-release

Choose a tag to compare

@ciaranra ciaranra released this 11 Jul 21:29
a54370f

PECOS 0.9.0.dev0 (pre-release)

Highlight: Rust classical interpreter is now the default

HybridEngine's default classical interpreter is now the Rust-backed RustPhirClassicalInterpreter (previously the pure-Python PhirClassicalInterpreter). For valid PHIR programs supplied as a dict, JSON string, or to_phir_dict()-convertible object it is behaviorally equivalent — differentially validated against the Python interpreter (~3,200 fuzzed programs, QASM-generated-PHIR differentials, exact exception-type parity).

Escape hatch: to restore the previous behavior, construct the engine with HybridEngine(cinterp="python").

Boundary behavior was brought to parity so the switch is not silent: phir_validate now schema-validates on the Rust path; division by zero raises ZeroDivisionError and undefined classical variables raise KeyError on both interpreters; undeclared assignment/ffcall/measurement targets fail fast (matching Python) instead of being auto-created; check_ffc fails fast on missing foreign functions; run_multisim works with to_dict-capable foreign objects. Known limitation: PyPHIR program objects are not accepted by the Rust interpreter (clear TypeError; use a dict/JSON or cinterp="python").

Also in this release

  • PHIR engine fail-fast fixes (#345): invalid variable definitions and out-of-range measurement writes error instead of being silently swallowed; the no-return measurement index is absolute across batches.
  • ~41 previously-dormant pecos-phir-json integration tests revived and running in CI.
  • Signed PHIR registers render as two's-complement binary strings (i(S+1) semantics); WASM fixtures corrected to i32 size 31.
  • Supply-chain: cxx 1.0.195, Go 1.26.5, triaged cgmath advisories (#349).
  • pecos-rslib-llvm is published alongside pecos-rslib and quantum-pecos (exact-version pins).

Rust API note: PecosError gains a RuntimeUndefinedVariable variant — source-breaking for downstream code that exhaustively matches the enum (0.x pre-release).

What's Changed

Full Changelog: py-0.8.0.dev8...py-0.9.0.dev0

Installing this pre-release

pip install quantum-pecos==0.9.0.dev0
# or with uv (transitive pre-release pins need the flag):
uv pip install --prerelease=allow quantum-pecos==0.9.0.dev0

py-0.8.0.dev8

py-0.8.0.dev8 Pre-release
Pre-release

Choose a tag to compare

@ciaranra ciaranra released this 20 Mar 03:41
7da99a7

What's Changed

Full Changelog: py-0.8.0.dev7...py-0.8.0.dev8

py-0.8.0.dev7

py-0.8.0.dev7 Pre-release
Pre-release

Choose a tag to compare

@ciaranra ciaranra released this 12 Mar 15:47
b041ef7

What's Changed

Full Changelog: py-0.8.0.dev6...py-0.8.0.dev7

py-0.8.0.dev6

py-0.8.0.dev6 Pre-release
Pre-release

Choose a tag to compare

@ciaranra ciaranra released this 05 Mar 06:26
8a85bbd

What's Changed

Full Changelog: py-0.8.0.dev5...py-0.8.0.dev6

py-0.8.0.dev5

py-0.8.0.dev5 Pre-release
Pre-release

Choose a tag to compare

@ciaranra ciaranra released this 03 Mar 20:42
b9c77bd

What's Changed

Full Changelog: py-0.8.0.dev4...py-0.8.0.dev5

py-0.8.0.dev4

py-0.8.0.dev4 Pre-release
Pre-release

Choose a tag to compare

@ciaranra ciaranra released this 27 Feb 16:31
27889d0

What's Changed

Full Changelog: py-0.8.0.dev3...py-0.8.0.dev4

py-0.8.0.dev3

py-0.8.0.dev3 Pre-release
Pre-release

Choose a tag to compare

@ciaranra ciaranra released this 20 Feb 06:46
86638c6

What's Changed

  • fixing .reset() to give state, making .probabilities/probability() av… by @ciaranra in #250
  • bumping from 0.8.0.dev2 to 0.8.0.dev3 by @ciaranra in #251

Full Changelog: py-0.8.0.dev2...py-0.8.0.dev3

py-0.8.0.dev2

py-0.8.0.dev2 Pre-release
Pre-release

Choose a tag to compare

@ciaranra ciaranra released this 19 Feb 05:31
c291282

What's Changed

Full Changelog: py-0.8.0.dev1...py-0.8.0.dev2

py-0.8.0.dev1

py-0.8.0.dev1 Pre-release
Pre-release

Choose a tag to compare

@ciaranra ciaranra released this 18 Feb 09:24
feb8221

What's Changed

New Contributors

Full Changelog: py-0.8.0.dev0...py-0.8.0.dev1

Python PECOS 0.8.0.dev0

Pre-release

Choose a tag to compare

@ciaranra ciaranra released this 11 Dec 23:19
ca2080a

What's Changed

Full Changelog: py-0.7.0.dev4...py-0.8.0.dev0