ADR-0004: Quantum backend is an interface stub only¶
- Status: accepted
- Date: 2026-12-02
Context¶
provingground.core defines a QuantumBackend class and the Scorecard schema allows
manifest.backend: "quantum-stub". The original decision record lived in a private
repository, so the public code pointed at an ADR number that does not exist here. This ADR
records the public part of that decision.
Decision¶
QuantumBackend(name = "quantum-stub") is an interface placeholder. Itsrun()raisesNotImplementedError; no quantum execution, simulation or provider integration ships in v1.- The name stays reserved in the Scorecard schema (
manifest.backend) so a future backend does not need a schema change just to identify itself. - Any real quantum backend needs its own ADR covering what it executes, how results are reproduced and verified, and how its cost is measured, before code lands.
Consequences¶
- Selecting the stub fails loudly instead of producing a Scorecard with fabricated results.
- Documentation must not describe quantum execution as available.