Skip to content

test: add Qiskit oracle semantics reports - #9

Draft
doomhammerhell wants to merge 1 commit into
mainfrom
v0.2/qiskit-oracle-semantics
Draft

test: add Qiskit oracle semantics reports#9
doomhammerhell wants to merge 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.

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