OAI/Computability/QuantumFactoring/CleanPermutation.lean
8 declarations, 0 contain sorry, 0 declared as axioms
- lemma
OAI.ExactQuantumFactoring.BooleanNetwork.packed_single_swapline 12 - def
OAI.ExactQuantumFactoring.BooleanNetwork.swapPrefixline 40 - lemma
OAI.ExactQuantumFactoring.BooleanNetwork.swapPrefix_lengthline 45 - lemma
OAI.ExactQuantumFactoring.BooleanNetwork.swapPrefix_basisline 51 - lemma
OAI.ExactQuantumFactoring.BooleanNetwork.swapBlocks_basisline 71 - def
OAI.ExactQuantumFactoring.BooleanNetwork.cleanPermutationline 80Source documentation
The standard clean implementation of a bijection uses a verified forward and inverse Boolean network, two work registers, and only the named gates.
def cleanPermutation {n r : ℕ} (f g : BooleanNetwork n n) (hf : f.net.count ≤ r) (hg : g.net.count ≤ r) : List (Instruction (n+n+r)) := …Mentions: OAI.ExactQuantumFactoring.BooleanNetwork, OAI.ExactQuantumFactoring.Instruction
- lemma
OAI.ExactQuantumFactoring.BooleanNetwork.cleanPermutation_basisline 84 - lemma
OAI.ExactQuantumFactoring.BooleanNetwork.cleanPermutation_lengthline 96