How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Gray-Path Synthesis of a Two-Level Gate
Definition
Input distinct , , exact , and for each controlled call a choice between the no-workspace and clean-bit constructions of Multicontrolled Unitaries with and without a Clean Work Bit. If any call selects the clean-bit construction, supply one clean bit initialized to . Output: the chronological elementary-gate list on the data wires and, if selected, that one clean work wire.
Let be the path that flips the differing bit positions once in increasing order, where is the Hamming distance. For , swap and by an on their differing bit controlled on the other bits matching their common pattern. Apply to the final pair by a one-qubit target gate controlled on their common other bits, reversing the ordered block if has target bit . Undo the swaps in reverse order. Expand every multi-control using its selected construction; implement negative controls by conjugating that control wire with .
Expand the calls by the following procedures. Every list below is chronological; concatenation means execute the left list first. Order control wires and available spare wires by their register positions. All parameter selections are exact mathematical operations: use exact matrix arithmetic, a finite-dimensional unitary eigendecomposition, polar arguments and the Euler parameter selection of One-Qubit Euler Decomposition. The input representation must support these selections and exact zero tests; no finite-precision bit-time claim is made. Fix each selection when its call is first expanded and retain the resulting list for an inverse call.
For one control , target and matrix , choose as in One-Qubit Euler Decomposition. Form the three matrices , and . Define to be the list , , , , , . Each of is one arbitrary one-qubit gate, as in Exact Controlled One-Qubit Unitary with Two CNOTs. Define by setting and concatenating , , , , .
Define the ladder list with an ordered supply of at least distinct spare wires. For emit one CNOT; for emit . For , use the first spares . Set , for , and . Concatenate and then ; the latter list is just when . This is the borrowed ladder used in Linear Multicontrolled X with One Borrowed Wire.
Define for an ordered nonempty control set and a distinct borrowed wire . With one or two controls use the corresponding ladder base case and leave unused. With controls split into its first controls and the remaining controls . Let use spares from , and let use spares from . Emit , using the same parameter choices for repeated lists. The stated spare supplies have at least and wires, respectively.
Define the positive-control no-workspace expansion recursively. If is empty, emit . If it has one wire , emit . Otherwise write , with its last control. Choose an orthonormal eigendecomposition by Complex spectral theorem: a normal endomorphism of a finite-dimensional complex inner product space has an orthonormal eigenbasis, and conversely, choose polar angles by Every nonzero complex number has a unique polar form with and , and set . The addition formulas of The addition formulas for sine and cosine specify these half-angle roots. Emit , , , , . The last call has one fewer control and uses only its indicated wires.
For the positive-control clean-bit expansion with nonempty and clean wire , emit , , and the reversed adjoint of that same list. With no controls emit and leave unused. These are the two constructions analyzed in Multicontrolled Unitaries with and without a Clean Work Bit. For a pattern control, conjugate the selected whole positive-control list by one on each zero-valued control, ordering each set of these gates by wire position. Reverse the ordered middle block by using as its single matrix parameter, not by adding target occurrences.
Use the selected literal elementary gate list for each call without deleting identity gates or cancelling neighboring gates. In the one-control base use the three target matrices and one control phase as four arbitrary one-qubit gates. Use the same choices and reversed adjoint gate lists for the return swaps. Reuse the supplied clean bit sequentially; each selected clean-bit construction returns it to .
Depends on
- Two-Level Unitary
- Controlled Unitary Access
- Finite circuit resource accounting
- Big-endian encoding of ordered bit strings
- Multicontrolled Unitaries with and without a Clean Work Bit
- Linear Multicontrolled X with One Borrowed Wire
- Exact Controlled One-Qubit Unitary with Two CNOTs
- One-Qubit Euler Decomposition
- Complex spectral theorem: a normal endomorphism of a finite-dimensional complex inner product space has an orthonormal eigenbasis, and conversely
- Every nonzero complex number has a unique polar form $r(\cos\theta+i\sin\theta)$ with $r>0$ and $-\pi<\theta\le\pi$
- The addition formulas for sine and cosine
- CNOT and Control-Target Order
- Finite circuit syntax and ordered wire labels
- Denotational semantics of a finite layered circuit
- Clean and dirty ancillas
- The computational basis is orthonormal
Used by
Dependency tree · two levels
48 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- Adriano Barenco et al., Elementary gates for quantum computation, arXiv:quant-ph/9503016v1 (standard reference, not scraped)