Expand description
Graph-level logical verification by sampled ZX-diagram contraction.
A LogicalVerifier converts an ordinary BlockGraph
into one symbolic QuiZX diagram. For a terminal structural source it caches
one such static verifier per reachable projected topology and dispatches by
the evaluated Branch conditions.
Named outcomes determine native spider phase parities, feedback contributes
conditional Pauli spiders, and selective measurements are
concretized after the classical action DAG is evaluated. Accepted nonzero
branches are compared with a caller-supplied expected ZX map up to arbitrary
nonzero scalar.
Structs§
- Boundary
Order - Ordered open boundaries of a logical map.
- Logical
Branch - Classical values and status for one branch.
- Logical
Verification Report - Aggregate result of randomized branch verification.
- Logical
Verifier - Reusable symbolic ZX verifier for one static graph or a bounded family of reachable terminal-branch projections.
Enums§
- Branch
Status - Result category for one sampled assignment.
- Qasm
Error - Errors in the supported OpenQASM subset.
- Verify
Logical Error - An error raised while building, sampling, or contracting a logical ZX map.
Functions§
- parse_
qasm - Parses the unitary part of an unconditional circuit.
- verify_
logical - Builds and fuzzes a verifier in one call.
Type Aliases§
- Branch
Assignment - Caller-chosen measurement outcomes and external Boolean inputs.
- Quizx
Graph - The concrete QuiZX graph type used for logical maps.