Packaged compiled wire-segment tensor networks for quantum circuits #
Packages the degree-d (d ∈ {3, 4}) compiled wire-segment multigraph (CompiledQuantumNet)
together with its vertex-count, component cycle-rank, and single-cut correlation / sign-rank /
fidelity / linear-synthesis bounds (exists_compiledQuantumNet).
Main definitions #
Cslib.Circuits.Frontier.CompiledQuantumNet: packaged finite degree-dwire network compiled fromC : Quantum.Circuit Ntogether with its component cycle-rank and single-cut bounds.
Main results #
Cslib.Circuits.Frontier.exists_compiledQuantumNet: compiles anyAllBondRankTwo(d = 3) orTwoLocal(d = 4) quantum circuit into aCompiledQuantumNet.
Packaged compiled wire network for quantum circuits #
Packaged finite degree-d wire-segment multigraph compiled from C : Quantum.Circuit N
with data qubits e : Fin n ↪ Fin N and extra tracked qubit q_extra : Fin N, bundling the
vertex bound, component cycle-rank inequalities, and single-cut rank/correlation/fidelity bounds.
- V : Type
Vertex type of the compiled wire network.
- E : Type
Edge type of the compiled wire network.
- instDE : DecidableEq self.E
Underlying loopless degree-
dmultigraph.- maxDeg : self.G.MaxDegreeLE d
Input leaf vertices of the
ndata qubits.Output leaf vertices of the
ndata qubits.Joint
2 * ninput/output leaf vertices (inl2n= inputs,inr2n= outputs).- sq_quantumCorrelation_mul_le (x₀ : Fin N → Bool) (Q : Matrix (Fin n) (Fin n) (ZMod 2)) (P : Set self.V) : quantumCorrelation {x : Fin n → Bool | BitString.quadForm Q x = true} (quantumAcceptProb C q_extra e x₀) ^ 2 * 2 ^ (Q + Q.transpose).cutRank {i : Fin n | self.leafIn i ∈ P} ≤ 4 * 4 ^ (self.G.edgeCut P).ncard
- signRank_uqp_le (x₀ : Fin N → Bool) {f : (Fin n → Bool) → Bool} {θ : ℝ} : (∀ (x : Fin n → Bool), if f x = true then θ < quantumAcceptProb C q_extra e x₀ x else quantumAcceptProb C q_extra e x₀ x < θ) → ∀ (P : Set self.V), (Communication.signRank fun (a : ↑{i : Fin n | self.leafIn i ∈ P} → Bool) (b : ↑{i : Fin n | self.leafIn i ∈ P}ᶜ → Bool) => f ((Equiv.piEquivPiSubtypeProd (fun (x : Fin n) => x ∈ {i : Fin n | self.leafIn i ∈ P}) fun (x : Fin n) => Bool).symm (a, b))) ≤ 3 * 4 ^ (self.G.edgeCut P).ncard
- cutRank_linBlockMatrix_le (x₀ : Fin N → Bool) {R : Matrix (Fin n) (Fin n) (ZMod 2)} : (∀ (x : Fin n → Bool), C.run (Quantum.glue e x x₀) = Quantum.ket (Quantum.glue e (boolMulVec R x) x₀)) → ∀ (P : Set self.V), (linBlockMatrix n R + (linBlockMatrix n R).transpose).cutRank {k : Fin (2 * n) | self.leaf2n k ∈ P} ≤ (self.G.edgeCut P).ncard + 1
Compile a two-local quantum circuit into a CompiledQuantumNet. Under AllBondRankTwo C
(d = 3) or TwoLocal C (d = 4), decoupling inactive qubits and splitting active two-qubit
gates produces a CompiledQuantumNet d e q_extra C.