Quantum Computing & Gates
Tracing quantum calculations down Standard Model ribbon braids and pre-geometric topological manifolds.
The Topological Qubit Space
Click on either state card to explore its mathematical invariants, representations, and gauge coupling properties.
Logical Pauli-X (NOT)
The Pauli-X gate acts as a topological "writhe shuffle," shifting the twist configuration of the braid between the symmetric ground state and the asymmetric excited state.
The rewrite operation R_X executes a charge-conserving twist redistribution. It unties a single crossing on one ribbon and reties it as a double loop elsewhere, changing the writhe vector from (-1, -1, -1) to (-2, -1, 0). The total writhe sum is strictly conserved at W = -3, preserving the electron charge observable Q = -1 across the logical computation.
Logical Pauli-Z (Phase)
The Pauli-Z gate exploits the non-trivial holonomy of the gauge connection to imprint a geometric phase shift exclusively on the excited qubit state.
A gauge field probe (gluon loop) interacts with the braid. Because the ground state|0_L⟩ transforms as a trivial singlet representation of SU(3), it is transparent to the field. The excited state |1_L⟩, being color charged, couples actively to the connection, accumulating an Aharonov-Bohm phase holonomy of exactly e^iπ = -1.
Hadamard (Superposition)
The Hadamard gate uses a thermodynamic cycle to randomize the braid state and freeze it into a coherent, equal-weight quantum superposition.
The local rewrite rate is transiently driven to elevate the temperature to the critical mixing threshold T_mix = ln 2. Due to the topological degeneracy of the basis energies, this randomizes the state. A subsequent diabatic quench freezes the system into a coherent, minimum-entropy superposition |+⟩ = (|0_L⟩ + |1_L⟩) / √2.
Controlled-Z (CZ)
The Controlled-Z gate connects spatially separated qubits via a temporary vacuum bridge, enabling conditional logical operations and entanglement generation.
A sequence of edge additions creates a "logic wire" bridge connecting the control and target environments. An excited control state |1_L⟩ (high local stress σ = -1) catalytically lowers the friction barrier f(σ) at the target, allowing the Z-gate phase imprint rewrite to execute. If the control is |0_L⟩, the friction remains high and the gate is inhibited, realizing the Controlled-Z conditional unitary.
Topological T-Gate
The T-gate completes the universal gate set, providing the necessary non-Clifford fractional phase rotation through ribbon self-braiding.
A closed 3-cycle loop is nucleated from the vacuum, wraps around a strand of the target qubit, and dissolves. This self-braiding path corresponds to a half-Dehn twist in the Ribbon Category, naturally yielding a conformal spin phase of exactly e^iπ/4on the charged excited state without requiring magic state distillation.
Quantum Non-Demolition Readout
Measuring a topological qubit requires extracting its invariants without destroying its coherent braid state.
Extracting logical configurations is realized through QND sensors that couple to the boundary values of the graph.
Measurement operators project the quantum state onto the writhe and color bases. TheWrithe Sensor measures the geometric winding number of the ribbons, returning the valence charge, while the Color Sensor extracts the boundary holonomy under the SU(3) gauge field to identify color charge asymmetry without collapsing the ribbon structure.
Self-Healing Stabilizer Lattice
Interactive Simulation: Click anywhere on the grid cells/vertices below to inject local errors, then trigger the vacuum's thermodynamic healing cycle.
Topological protection is enforced by commuting stabilizer operators. Any local disturbance creates defects corrected by the vacuum.
Commuting plaquette operators Bp and vertex operators Av form the stabilizer group. Faults project non-trivial syndromic values. The vacuum's thermodynamic drive (governed by λ_cat = e - 1) creates a stress-minimizing pressure that accelerates the deletion of these defects, restoring code consistency.