Documentation

CslibFrontier.Computability.Circuit.Frontier.Quantum.WireNetwork

Wire-segment tensor-network compilation for quantum circuits #

This module compiles active wires of a quantum circuit C : Cslib.Quantum.Circuit N into a finite loopless degree-d wire-segment multigraph (CompiledQuantumNet) in which zero-qubit and single-qubit U(2) gates (g.arity ≤ 1), as well as idle or one-qubit-only ancillas, contribute zero vertices and zero edges:

  1. Gate locality and bond-rank-two predicates (twoQubitCount, TwoLocal, HasBondRankTwo, AllBondRankTwo). Every Quantum.Gate.cnot (cnot_hasBondRankTwo) and every controlled single-qubit gate Quantum.Gate.controlled V (controlled_hasBondRankTwo) has Schmidt / bond rank at most two, splitting into two degree-3 vertices (d = 3), whereas an arbitrary two-qubit U(4) gate forms one degree-4 vertex (d = 4).
  2. Active-qubit decoupling and degree-capped tensor networks (exists_compiledQuantumNet). Decoupling qubits touched only by ≤ 1-qubit gates leaves an active wire network on Aset of size |V| ≤ 2 n + 6 · twoQubitCount C + 2 whose closed components Comp satisfy cycleRankOn Comp + |leafIn ∩ Comp| ≤ twoQubitCount C + 1 (and analogously for leafOut and the joint 2 n input/output leaves leaf2n).
  3. Single-cut rank, correlation, and fidelity bounds (CompiledQuantumNet). Cutting P ⊆ V factors transition amplitudes into 2 ^ |G.edgeCut P| rank-1 complex terms and single-qubit acceptance probabilities into 2 · 4 ^ |G.edgeCut P| real bilinear terms, yielding single-cut bounds for BQP correlation, UQP sign-rank, quadratic phase-state fidelity, and coherent 𝔽₂ linear synthesis (linBlockMatrix).

Main definitions #

Main results #