OAI/InformationTheory/QuantumCircuit/Physical.lean
14 declarations, 0 contain sorry, 0 declared as axioms
- def
OAI.QAC.singleLocalline 13Source documentation
A physical one-qubit gate, as a local layer.
def singleLocal {N : ℕ} (q : Fin N) (u : Matrix.unitaryGroup Bit ℂ) : LocalLayer N := …Mentions: OAI.QAC.Bit, OAI.QAC.LocalLayer
- lemma
OAI.QAC.local_gate_matrixline 16 - lemma
OAI.QAC.reflectList_rotateline 26 - lemma
OAI.QAC.reflectList_rotate_commuteline 38 - def
OAI.QAC.normalCountsline 45Source documentation
Local gates are moved to the right by rotating the product axes; supports are unchanged, so a disjoint physical layer yields one reflection layer.
def normalCounts {N : ℕ} : List (Gate N) → List (Count N) | [] => [] | .local q u :: l => (normalCounts l).map (fun A => A.rotate (singleLocal q u)) | .toffoli c t _ :: l => toffoliCount c t :: normalCounts lMentions: OAI.QAC.Gate, OAI.QAC.Count, OAI.QAC.singleLocal, OAI.QAC.toffoliCount
- def
OAI.QAC.normalLocalline 50 - lemma
OAI.QAC.normalCounts_supportline 55 - lemma
OAI.QAC.normalCounts_disjointline 73 - lemma
OAI.QAC.gateList_normalline 93 - lemma
OAI.QAC.physicalLayer_isCircuitline 107 - lemma
OAI.QAC.physicalCircuit_isCircuitline 115 - lemma
OAI.QAC.IsCircuit.succline 124 - lemma
OAI.QAC.IsCircuit.monoline 128 - lemma
OAI.QAC.IsCircuit.local_mulline 134