OAI/InformationTheory/QuantumCircuit/Model.lean
16 declarations, 0 contain sorry, 0 declared as axioms
- abbrev
OAI.QAC.Bitline 10Also declared: ComparatorChallenges/QACParity.lean:10 (same declaration text), ComparatorChallenges/RegularParity.lean:10 (same declaration text).
- abbrev
OAI.QAC.Wordline 11Also declared: ComparatorChallenges/QACParity.lean:11 (same declaration text), ComparatorChallenges/RegularParity.lean:11 (same declaration text).
- abbrev
OAI.QAC.Operatorline 12Also declared: ComparatorChallenges/QACParity.lean:12 (same declaration text), ComparatorChallenges/RegularParity.lean:12 (same declaration text).
- abbrev
OAI.QAC.QubitOperatorline 13Also declared: ComparatorChallenges/QACParity.lean:13 (same declaration text), ComparatorChallenges/RegularParity.lean:13 (same declaration text).
- def
OAI.QAC.tensorMatrixline 16Source documentation
Tensor product in the computational basis.
Also declared: ComparatorChallenges/QACParity.lean:16 (same declaration text), ComparatorChallenges/RegularParity.lean:16 (same declaration text).
def tensorMatrix {N : ℕ} (a : Fin N → QubitOperator) : Operator N := …Mentions: OAI.QAC.QubitOperator, OAI.QAC.Operator
- inductive
OAI.QAC.Gateline 20Source documentation
A one-qubit unitary or an unbounded-arity Toffoli gate.
Also declared: ComparatorChallenges/QACParity.lean:20 (same declaration text), ComparatorChallenges/RegularParity.lean:20 (same declaration text).
inductive Gate (N : ℕ) where …
- def
OAI.QAC.Gate.supportline 26Also declared: ComparatorChallenges/QACParity.lean:26 (same declaration text), ComparatorChallenges/RegularParity.lean:26 (same declaration text).
- def
OAI.QAC.Gate.toffoliWordline 31Source documentation
A Toffoli flips its target iff all controls are one.
Also declared: ComparatorChallenges/QACParity.lean:31 (same declaration text), ComparatorChallenges/RegularParity.lean:31 (same declaration text).
def toffoliWord {N : ℕ} (c : Finset (Fin N)) (t : Fin N) (x : Word N) : Word N := …Mentions: OAI.QAC.Word
- def
OAI.QAC.Gate.matrixline 34Also declared: ComparatorChallenges/QACParity.lean:34 (same declaration text), ComparatorChallenges/RegularParity.lean:34 (same declaration text).
- structure
OAI.QAC.PhysicalLayerline 40Also declared: ComparatorChallenges/QACParity.lean:40 (same declaration text), ComparatorChallenges/RegularParity.lean:40 (same declaration text).
- def
OAI.QAC.physicalLayerMatrixline 44Also declared: ComparatorChallenges/QACParity.lean:44 (same declaration text), ComparatorChallenges/RegularParity.lean:44 (same declaration text).
- def
OAI.QAC.physicalCircuitMatrixline 48Source documentation
Chronological order: the rightmost matrix acts first.
Also declared: ComparatorChallenges/QACParity.lean:48 (same declaration text), ComparatorChallenges/RegularParity.lean:48 (same declaration text).
def physicalCircuitMatrix {N : ℕ} (layers : List (PhysicalLayer N)) : Operator N := …Mentions: OAI.QAC.PhysicalLayer, OAI.QAC.Operator
- def
OAI.QAC.inputWordline 52Source documentation
The computational-basis input with the remaining qubits initialized to zero.
Also declared: ComparatorChallenges/QACParity.lean:52 (same declaration text), ComparatorChallenges/RegularParity.lean:52 (same declaration text).
def inputWord {n N : ℕ} (x : Word n) : Word N := …Mentions: OAI.QAC.Word
- def
OAI.QAC.parityline 55Also declared: ComparatorChallenges/QACParity.lean:55 (same declaration text), ComparatorChallenges/RegularParity.lean:55 (same declaration text).
- def
OAI.QAC.successProbabilityline 58Source documentation
Born probability, summing all final garbage with no cleanliness assumption.
Also declared: ComparatorChallenges/QACParity.lean:58 (same declaration text), ComparatorChallenges/RegularParity.lean:58 (same declaration text).
def successProbability {n N : ℕ} (W : Operator N) (out : Fin N) (x : Word n) : ℝ := …Mentions: OAI.QAC.Operator, OAI.QAC.Word
- def
OAI.QAC.ParityStatementline 62Source documentation
The literal measured-output, polynomial-total-qubit parity lower bound.
Also declared: ComparatorChallenges/QACParity.lean:62 (same declaration text).
def ParityStatement : Prop := …