Skip to content

test: add Qiskit oracle semantics reports - #9

Merged
doomhammerhell merged 1 commit into
mainfrom
v0.2/qiskit-oracle-semantics
Sep 16, 2026
Merged

doomhammerhell merged 1 commit into
mainfrom
v0.2/qiskit-oracle-semantics

Conversation

@doomhammerhell

Copy link
Copy Markdown
Owner

Summary

Adds an explicit Qiskit oracle semantic report for the v0.2 gate-model boundary.

The report compares direct BoolExpr.evaluate truth tables with symbolic oracle truth tables, records reversibility and cleanup checks, tracks logical variables, ancilla count, cleanup gate count, gate count, depth estimate, truth-table hash, true rows, and optional local QuantumCircuit summary metadata when Qiskit is available.

The optional Qiskit path remains a local export boundary: the circuit summary is synthesized from the verified local truth table and records backend_execution: false.

Closes #3.

Validation

python3 -m pytest tests/test_qiskit_semantics.py tests/test_optional_integrations.py tests/test_circuits.py
bash scripts/run_examples.sh
bash scripts/run_audit.sh

Local result: focused tests passed; bash scripts/run_audit.sh passed with 58 passed in pytest and Lean build successful.

Boundary

This PR does not use IBM Runtime, backend queues, hardware execution, noise modeling, transpilation benchmarking, or quantum advantage claims. The semantic authority remains the local truth table.

@doomhammerhell
doomhammerhell marked this pull request as ready for review September 16, 2026 18:20
@doomhammerhell
doomhammerhell merged commit d80a5a5 into main Sep 16, 2026
2 checks passed
@doomhammerhell
doomhammerhell deleted the v0.2/qiskit-oracle-semantics branch September 16, 2026 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v0.2: Qiskit local oracle export semantics

1 participant