Quantum computing, simulated live
A five-qubit state-vector simulator you can wire up by hand, Grover's search checked against its closed form, teleportation as six explicit state vectors, a surface code you can break and let the decoder fix, a threshold Monte Carlo, a variational eigensolver on the hydrogen molecule, and a circuit rewrite pass that proves it changed nothing. Every number on the page is computed here, in the browser, when you load it.
The state is a vector; a gate is a stride
A register of n qubits is a unit vector in \mathbb{C}^{2^n}. Wire k owns bit n-1-k of the basis index, so a single-qubit unitary acts on every pair of amplitudes whose indices differ in that bit, and a controlled gate touches only the pairs whose control bits are set. That is the whole simulator: two Float64Arrays and a loop.
|\psi\rangle = \sum_{i=0}^{2^n-1} a_i\,|i\rangle, \qquad \sum_i |a_i|^2 = 1Gate on wire k with stride s = 2^{\,n-1-k}, for every i with bit k clear:
\begin{pmatrix} a_i' \\ a_{i+s}' \end{pmatrix} = \begin{pmatrix} u_{00} & u_{01} \\ u_{10} & u_{11} \end{pmatrix} \begin{pmatrix} a_i \\ a_{i+s} \end{pmatrix}The palette is H, X, Y, Z, S, T, the rotations R_x(\theta), R_y(\theta), R_z(\theta), \mathrm{CNOT}, \mathrm{CZ}, \mathrm{SWAP}, the three-wire \mathrm{CCX} and \mathrm{CCZ}, and a projective measurement:
H = \tfrac{1}{\sqrt 2}\begin{pmatrix} 1 & 1 \\ 1 & -1 \end{pmatrix}, \quad R_z(\theta) = \begin{pmatrix} e^{-i\theta/2} & 0 \\ 0 & e^{i\theta/2} \end{pmatrix}, \quad \mathrm{CNOT} = \begin{pmatrix} 1&0&0&0\\0&1&0&0\\0&0&0&1\\0&0&1&0 \end{pmatrix}Each wire's Bloch vector comes from its reduced density matrix, \rho_k = \mathrm{Tr}_{\bar k}\,|\psi\rangle\langle\psi|, with (x, y, z) = (2\,\mathrm{Re}\,\rho_{01},\, -2\,\mathrm{Im}\,\rho_{01},\, \rho_{00}-\rho_{11}). Its length is 1 for a product state and shrinks as the wire entangles; the Bell pair leaves both wires at the centre of the sphere.
Reading the figure
Load the Bell preset: two nonzero amplitudes, both real and positive, both Bloch vectors at zero length, a histogram that splits between 00 and 11 within sampling noise of a half. Load GHZ on three wires and the same happens with 000 and 111. Load the three-qubit Grover preset and the marked state carries 25/32 of the probability after one iteration, which is the closed-form value the self-check table compares against.
Rotations show the phase colour doing its work: an R_z on a wire in superposition moves the hue of half the bars without moving their height, and a measurement gate collapses the wire on one sampled trajectory; resample to see another one.
The engine and its tests are the same code that runs the Grover, teleportation, transpilation and VQE figures below, so a defect in it would show in all of them at once.
| basis | Re | Im | |a|² | arg |
|---|---|---|---|---|
| |00⟩ | 0.7071 | 0.0000 | 0.5000 | 0° |
| |11⟩ | 0.7071 | 0.0000 | 0.5000 | 0° |
| Bell |00⟩, |11⟩ | 0.5000, 0.5000 | pass |
| GHZ |000⟩, |111⟩ | 0.5000, 0.5000 | pass |
| Grover 3q, k = 1, P(|101⟩) | 0.78125 | pass |
| Oracle + diffusion vs sin²(3θ) | 0.78125 | pass |
| Teleportation, Bob vs |ψ⟩ (12 trajectories) | 1.000000 | pass |
Quadratic speed-up, checked against sin²((2k+1)θ)
With one marked item among N = 2^n, the uniform superposition makes an angle \theta = \arcsin(1/\sqrt N) with the unmarked subspace, and each oracle-plus-diffusion step rotates the state by 2\theta toward the marked one:
P_k = \sin^2\big((2k+1)\theta\big), \qquad k_{\mathrm{opt}} = \Big\lfloor \frac{\pi}{4\theta} \Big\rceil \approx \frac{\pi}{4}\sqrt NThe figure runs the actual operators on the state vector and plots what it measures over that formula. The agreement is at the level of floating-point rounding, and the curve keeps going past k_{\mathrm{opt}} to show why stopping matters.
One qubit moved with two classical bits
The protocol rests on an identity: a message qubit next to a Bell pair can be rewritten in Alice's Bell basis, with Bob's qubit carrying the message up to a Pauli that the Bell label names.
|\psi\rangle \otimes |\Phi^+\rangle = \tfrac12 \sum_{m_0 m_1} |\beta_{m_0 m_1}\rangle \otimes X^{m_1} Z^{m_0} |\psi\rangleAlice's CNOT and Hadamard turn the Bell basis into the computational basis, her measurement picks a branch with probability exactly 1/4, and Bob undoes the Pauli when the two bits arrive. The figure carries the eight complex amplitudes through every step and evaluates Bob's fidelity in each branch.
| basis | Re | Im | |a|² | arg |
|---|---|---|---|---|
| |000⟩ | 0.8144 | -0.2519 | 0.7268 | -17° |
| |001⟩ | 0.4993 | 0.1545 | 0.2732 | 17° |
| m₀m₁ | P | Bob before | fix | F before | F after |
|---|---|---|---|---|---|
| 00 | 0.250 | (0.74, 0.50, 0.45) | I | 1.000 | 1.000000 |
| 01 | 0.250 | (0.74, -0.50, -0.45) | X | 0.541 | 1.000000 |
| 10 | 0.250 | (-0.74, -0.50, 0.45) | Z | 0.206 | 1.000000 |
| 11 | 0.250 | (-0.74, 0.50, -0.45) | XZ | 0.253 | 1.000000 |
The surface code and its threshold
A stabilizer code stores one logical qubit in the joint +1 eigenspace of a set of commuting Pauli products. On the rotated surface code those products are the faces of a square lattice,
S_X = \prod_{q \in \square} X_q, \qquad S_Z = \prod_{q \in \square} Z_q, \qquad Z_L = \prod_{\text{row}} Z_q, \quad X_L = \prod_{\text{col}} X_qMeasuring the stabilizers does not disturb the logical state, but an error on a data qubit flips the faces it touches, and a decoder has to guess the most likely error consistent with the pattern of flipped faces. Minimum-weight matching is the standard choice: pair the flipped faces (or pair a face with the boundary) along the shortest paths. Below threshold, longer codes fail less often; the logical error rate of a distance-d code scales roughly as (p/p_{\mathrm{th}})^{(d+1)/2} (Fowler, Mariantoni, Martinis and Cleland, Phys. Rev. A 86, 032324, 2012). The Monte Carlo panel measures that crossing for d = 3 and 5 under the simplest noise model, independent X and Z flips with perfect syndrome measurement; on hardware, Google Quantum AI reported a suppression factor \Lambda = 2.14 \pm 0.02 per distance step from d = 3 to 7 on the Willow processor (Nature 638, 920, 2025).
A variational eigensolver on H₂
A variational algorithm prepares a parametrised state on the quantum device, measures the energy, and lets a classical optimiser move the parameters. The energy is a sum of Pauli expectation values, each of which a device measures directly:
E(\theta) = \langle \psi(\theta) | H | \psi(\theta) \rangle = \sum_j c_j\, \langle \psi(\theta) | P_j | \psi(\theta) \rangle, \qquad \frac{\partial E}{\partial \theta_k} = \frac{E(\theta + \tfrac{\pi}{2} e_k) - E(\theta - \tfrac{\pi}{2} e_k)}{2}The second identity is the parameter-shift rule, exact when each parameter enters through a single rotation gate; it turns a gradient into two extra energy evaluations per parameter with no finite-difference error. The figure runs that loop on the two-qubit hydrogen Hamiltonian, one gradient step per animation frame, and draws the exact ground energy from diagonalising the same Hamiltonian as the target.
| P_j | c_j (Ha) | ⟨P_j⟩ | c_j⟨P_j⟩ |
|---|---|---|---|
| II | -1.0523732 | 1.0000 | -1.052373 |
| ZI | 0.3979374 | 0.6896 | 0.274415 |
| IZ | -0.3979374 | 0.6948 | -0.276500 |
| ZZ | -0.0112801 | 0.9941 | -0.011213 |
| XX | 0.1809312 | -0.7190 | -0.130085 |
| E(θ) = Σ c_j⟨P_j⟩ | -1.195756 | ||
| spectrum of H: -1.857, -1.245, -0.883, -0.225 Ha | |||
| nuclear repulsion 1/R: 0.719969 Ha | |||
Fewer gates, same unitary
A transpiler rewrites a circuit into one a device can run: fewer gates, shorter depth, a native gate set, a connectivity the chip has. The rules here are the exact ones, the ones that leave the unitary untouched, and the figure verifies that by running both circuits and comparing the outputs. Build something redundant in the simulator above and send it through; the QFT preset is the counter-example that these three rules cannot shorten.
| inverse cancellation | 8 removed |
| rotation merge | 2 removed, 3 merged |
| CNOT ladder to SWAP | 2 removed, 1 merged |
The three NIST standards, by the numbers
Shor's algorithm factors integers and takes discrete logarithms in polynomial time on a fault-tolerant machine, which is why RSA and elliptic-curve key exchange have replacements standardised before such a machine exists. NIST published the first three on 13 August 2024: FIPS 203, ML-KEM, a key-encapsulation mechanism derived from CRYSTALS-Kyber; FIPS 204, ML-DSA, a signature scheme derived from CRYSTALS-Dilithium; and FIPS 205, SLH-DSA, the stateless hash-based signature derived from SPHINCS+. The first two rest on the hardness of Module-LWE over structured lattices, the third only on the security of its hash function, which is why its signatures are large and its keys tiny. In March 2025 NIST selected HQC, a code-based scheme, as a second KEM. The parameter sets below are transcribed from the three standards; the security category is NIST's scale where 1, 3 and 5 track AES-128, AES-192 and AES-256 key search.
| standard | parameter set | category | public key | private key | ciphertext / signature | hard problem |
|---|---|---|---|---|---|---|
| FIPS 203 · ML-KEM | ML-KEM-512 | 1 | 800 | 1,632 | 768 ciphertext | Module-LWE |
| FIPS 203 · ML-KEM | ML-KEM-768 | 3 | 1,184 | 2,400 | 1,088 ciphertext | Module-LWE |
| FIPS 203 · ML-KEM | ML-KEM-1024 | 5 | 1,568 | 3,168 | 1,568 ciphertext | Module-LWE |
| FIPS 204 · ML-DSA | ML-DSA-44 | 2 | 1,312 | 2,560 | 2,420 signature | Module-LWE / SIS |
| FIPS 204 · ML-DSA | ML-DSA-65 | 3 | 1,952 | 4,032 | 3,309 signature | Module-LWE / SIS |
| FIPS 204 · ML-DSA | ML-DSA-87 | 5 | 2,592 | 4,896 | 4,627 signature | Module-LWE / SIS |
| FIPS 205 · SLH-DSA | SLH-DSA-128s | 1 | 32 | 64 | 7,856 signature | hash functions |
| FIPS 205 · SLH-DSA | SLH-DSA-128f | 1 | 32 | 64 | 17,088 signature | hash functions |
| FIPS 205 · SLH-DSA | SLH-DSA-192s | 3 | 48 | 96 | 16,224 signature | hash functions |
| FIPS 205 · SLH-DSA | SLH-DSA-192f | 3 | 48 | 96 | 35,664 signature | hash functions |
| FIPS 205 · SLH-DSA | SLH-DSA-256s | 5 | 64 | 128 | 29,792 signature | hash functions |
| FIPS 205 · SLH-DSA | SLH-DSA-256f | 5 | 64 | 128 | 49,856 signature | hash functions |
Kleene's K₃ and balanced ternary
In the Constellation orchestrator a verifier lane scores another model's output as true, false or abstain, with a confidence attached. Abstain is a first-class outcome. The verifier's three answers are the three values of Kleene's strong logic, where AND and OR are min and max and the middle value absorbs whatever it meets. Balanced ternary is the arithmetic side of the same alphabet: digits \{-1, 0, +1\}, negation by digit flip, and a carry chain that is a trit rather than a bit. Both are evaluated live below.
| a \ b | F | U | T |
|---|---|---|---|
| F | F | F | F |
| U | F | U | U |
| T | F | U | T |
| a \ b | F | U | T |
|---|---|---|---|
| F | F | U | T |
| U | U | U | T |
| T | T | T | T |
| a \ b | F | U | T |
|---|---|---|---|
| F | T | T | T |
| U | U | T | T |
| T | F | U | T |
| a \ b | F | U | T |
|---|---|---|---|
| F | F | U | U |
| U | U | U | U |
| T | U | U | T |
| a \ b | F | U | T |
|---|---|---|---|
| F | T | F | U |
| U | F | U | T |
| T | U | T | F |
| F = − | ¬ = T | false |
| U = 0 | ¬ = U | abstain |
| T = + | ¬ = F | true |
| carry | 0 | − | 0 | 0 | 0 | |
| x = 17 | 0 | + | − | 0 | − | = 17 |
| y = -8 | 0 | 0 | − | 0 | + | = -8 |
| x + y = 9 | 0 | 0 | + | 0 | 0 | = 9 |
Three-level quantum systems and their gates
A qutrit is a unit vector in \mathbb{C}^3; n of them span 3^n dimensions against 2^n for qubits. Its unitaries are SU(3), generated by the eight Gell-Mann matrices, and its Clifford group is generated by the Fourier gate H_3 and the phase gate S_3.
|\psi\rangle = \alpha|0\rangle + \beta|1\rangle + \gamma|2\rangle, \qquad |\alpha|^2 + |\beta|^2 + |\gamma|^2 = 1H_3 = \frac{1}{\sqrt 3}\begin{pmatrix} 1 & 1 & 1 \\ 1 & \omega & \omega^2 \\ 1 & \omega^2 & \omega \end{pmatrix}, \quad \omega = e^{2\pi i/3}, \qquad X_3 = \begin{pmatrix} 0&0&1\\1&0&0\\0&1&0 \end{pmatrix}, \quad Z_3 = \mathrm{diag}(1, \omega, \omega^2)S_3 = \mathrm{diag}(1, 1, \omega), \qquad T_3 = \mathrm{diag}(1, \zeta, \zeta^8), \quad \zeta = e^{2\pi i/9}Two-qutrit entanglers: the controlled increment \mathrm{CX}_3|a,b\rangle = |a, b+a \bmod 3\rangle and the controlled phase \mathrm{CZ}_3|a,b\rangle = \omega^{ab}|a,b\rangle, related by H_3 on the target exactly as CNOT and CZ are for qubits.
The Gell-Mann matrices \lambda_1 \ldots \lambda_8 are traceless and Hermitian with \mathrm{Tr}(\lambda_a \lambda_b) = 2\delta_{ab}, so any density matrix expands as
\rho = \tfrac13 I + \tfrac12 \sum_{a=1}^{8} n_a \lambda_a, \qquad n_a = \mathrm{Tr}(\rho\lambda_a), \qquad \mathrm{Tr}\,\rho^2 = \tfrac13 + \tfrac12 |n|^2The 8-vector n is the qutrit's Bloch vector. Pure states have |n|^2 = 4/3 but do not fill the sphere of that radius: the set of pure states is a four-dimensional surface inside an eight-dimensional ball, which is why the figure shows the eight components as bars and the diagonal pair (n_3, n_8) as a point in the triangle whose corners are the basis states.
Rotations \exp(-i\theta\lambda_a/2) are computed by scaling and squaring of the 3×3 series; the figure reports every gate's unitarity to rounding.
Fusion spaces and braiding
A non-Abelian anyon theory assigns each pair of particles a set of fusion outcomes; the space of ways several particles can fuse to a given total charge is the qudit, and moving particles around each other acts on it by unitaries that depend only on the topology of the paths. Two pieces of data fix the theory: the F-symbols, which change the order of fusion, and the R-symbols, the phases of exchanging two particles in a definite channel. They must satisfy the pentagon and hexagon equations, and the figure checks both.
Fibonacci
\tau \times \tau = 1 + \tau, \qquad d_\tau = \varphi = \tfrac{1+\sqrt5}{2}F^{\tau\tau\tau}_\tau = \begin{pmatrix} \varphi^{-1} & \varphi^{-1/2} \\ \varphi^{-1/2} & -\varphi^{-1} \end{pmatrix}, \qquad R^{\tau\tau}_1 = e^{-4\pi i/5}, \quad R^{\tau\tau}_\tau = e^{3\pi i/5}Three τ's with total charge τ span two states, a qubit; the braid group on three strands acts on it through \sigma_1 = R and \sigma_2 = F R F^{-1}, and the image is dense in SU(2) (Freedman, Larsen and Wang 2002), so braiding alone is universal.
Metaplectic, SU(2)₄ ≅ SO(3)₂
X \times X = 1 + Y, \quad Y \times Y = 1 + Y + Z, \quad Y \times Z = Y, \quad Z \times Z = 1d_X = \sqrt 3, \quad d_Y = 2, \quad d_Z = 1, \qquad [n]_q = \frac{\sin(n\pi/6)}{\sin(\pi/6)}Four Y's with trivial total charge span three states: a qutrit (Hastings, Nayak and Wang 2013). Braiding acts on it by a finite group, 54 elements up to phase in the figure's count, so the metaplectic scheme completes its gate set by measuring the total charge of pairs rather than by braiding alone. That measured step is where a three-valued readout enters the hardware story.
| 0.5000 | -0.7071 | 0.5000 |
| -0.7071 | 0.0000 | 0.7071 |
| 0.5000 | 0.7071 | 0.5000 |
| c = 1 | exp(i·-0.6667π) |
| c = Y | exp(i·0.6667π) |
| c = Z | exp(i·0.3333π) |
| X × X | 1 + Y |
| X × Y | X + X′ |
| X × X′ | Y + Z |
| X × Z | X′ |
| Y × Y | 1 + Y + Z |
| Y × X′ | X + X′ |
| Y × Z | Y |
| X′ × X′ | 1 + Y |
| X′ × Z | X |
| Z × Z | 1 |
| -0.500−0.866i | 0 | 0 |
| 0 | -0.500+0.866i | 0 |
| 0 | 0 | 0.500+0.866i |
| -0.250+0.433i | 0.354+0.612i | 0.250−0.433i |
| 0.354+0.612i | 0 | 0.354+0.612i |
| 0.250−0.433i | 0.354+0.612i | -0.250+0.433i |
| -0.500−0.866i | 0 | 0 |
| 0 | -0.500+0.866i | 0 |
| 0 | 0 | 0.500+0.866i |
| -0.250−0.433i | 0.354+0.612i | -0.250−0.433i |
| 0.354+0.612i | 0 | -0.354−0.612i |
| -0.250−0.433i | -0.354−0.612i | -0.250−0.433i |
| (1,Y,1) | -0.250−0.433i | 0.2500 |
| (Y,Y,1) | 0.354+0.612i | 0.5000 |
| (Z,Y,1) | -0.250−0.433i | 0.2500 |
| Σ|amp|² | 1.000000 | |
The design question
A diffusion language model denoises a whole sequence at once rather than emitting one token after another. The ternary diffusion study asks what changes when the sequence lives on a three-letter alphabet and the denoiser's state is a register of qutrits: the noise process becomes a random walk on \mathbb{Z}_3 per position, driven by X_3, and the denoising step is a unitary on the register followed by a three-outcome measurement, which is the verifier's true, false, abstain read directly off the hardware.
The pieces on this page are the scaffolding for that question: the qutrit gate set and its 8-vector, the three-valued logic the verifier already uses, and the anyon fusion space that would hold the register with topological protection.
Open problems
Routing above N=2 on similar-domain capsules collapses, and the learned router reached zero mutual information; the representation problem, projecting a query into the capsule space, is unsolved.
A first reproducible training run of the ternary denoiser has not been done; the benchmarks will come from that run.
Metaplectic braiding is not universal on its own, so the architecture depends on charge measurement of anyon pairs, an operation that no current device performs.
The qutrit simulator, in Python
The same operations the figure above runs, written out for a notebook: the gate matrices, a two-qutrit register, the entanglers and the Gell-Mann 8-vector.
Qutrit register
1import numpy as np23w = np.exp(2j* np.pi /3)4zeta = np.exp(2j* np.pi /9)56X3 = np.array([[0,0,1],[1,0,0],[0,1,0]], dtype=complex)# |j> -> |j+1 mod 3>7Z3 = np.diag([1, w, w**2])8H3 = np.array([[1,1,1],[1, w, w**2],[1, w**2, w]])/ np.sqrt(3)# Fourier on Z_39S3 = np.diag([1,1, w])# with H3 generates the Clifford group10T3 = np.diag([1, zeta, zeta**8])# non-Clifford (Howard & Vala 2012)1112GELL_MANN =[13 np.array([[0,1,0],[1,0,0],[0,0,0]]),14 np.array([[0,-1j,0],[1j,0,0],[0,0,0]]),15 np.array([[1,0,0],[0,-1,0],[0,0,0]]),16 np.array([[0,0,1],[0,0,0],[1,0,0]]),17 np.array([[0,0,-1j],[0,0,0],[1j,0,0]]),18 np.array([[0,0,0],[0,0,1],[0,1,0]]),19 np.array([[0,0,0],[0,0,-1j],[0,1j,0]]),20 np.array([[1,0,0],[0,1,0],[0,0,-2]])/ np.sqrt(3),21]2223defrotation(a:int, theta:float)-> np.ndarray:24"""exp(-i theta lambda_a / 2) by eigendecomposition."""25 vals, vecs = np.linalg.eigh(GELL_MANN[a -1])26return vecs @ np.diag(np.exp(-0.5j* theta * vals)) @ vecs.conj().T2728classRegister:29"""n qutrits; qutrit k owns base-3 digit n-1-k of the basis index."""3031def__init__(self, n:int):32 self.n = n33 self.psi = np.zeros(3**n, dtype=complex)34 self.psi[0]=1.03536defapply(self, U: np.ndarray, k:int):37 psi = self.psi.reshape([3]* self.n)38 psi = np.moveaxis(np.tensordot(U, psi, axes=([1],[k])),0, k)39 self.psi = psi.reshape(-1)4041defcx3(self, c:int, t:int):42 psi = self.psi.reshape([3]* self.n)43 out = np.zeros_like(psi)44for a inrange(3):45 idx =[slice(None)]* self.n46 idx[c]= a47 out[tuple(idx)]= np.roll(psi[tuple(idx)], a, axis=t if t < c else t -1)48 self.psi = out.reshape(-1)4950defcz3(self, c:int, t:int):51 psi = self.psi.reshape([3]* self.n)52 a = np.arange(3).reshape([3if i == c else1for i inrange(self.n)])53 b = np.arange(3).reshape([3if i == t else1for i inrange(self.n)])54 self.psi =(psi * w **((a * b)%3)).reshape(-1)5556defreduced(self, k:int)-> np.ndarray:57 psi = np.moveaxis(self.psi.reshape([3]* self.n), k,0).reshape(3,-1)58return psi @ psi.conj().T5960defbloch8(self, k:int)-> np.ndarray:61 rho = self.reduced(k)62return np.array([np.trace(rho @ L).real for L in GELL_MANN])6364defprobabilities(self)-> np.ndarray:65return np.abs(self.psi)**26667if __name__ =="__main__":68 r = Register(2)69 r.apply(H3,0)70 r.cx3(0,1)# qutrit Bell state (|00> + |11> + |22>) / sqrt 371print(np.round(r.probabilities(),4))72print("purity of q0:", np.trace(r.reduced(0) @ r.reduced(0)).real)# 1/373print("8-vector of q0:", np.round(r.bloch8(0),6))# all zero
The design study
The ternary diffusion design study: the qutrit register, the ternary diffusion process and the anyon encoding, as a PDF.
Download the PDFWhat runs today
On this page
Every figure above executes in the visitor's browser: the state-vector and qutrit engines, the surface-code decoder and its Monte Carlo, the Jacobi eigensolver and the parameter-shift loop, the rewrite pass, and the SU(2)k anyon algebra in sections 8 to 12. There is no server behind them and no quantum hardware; they are the reference implementations we use to reason about these algorithms, published as the page itself. The self-check table in the first figure runs on every load.
Three-valued verifier judgements, true, false or abstain, are part of the arbiter lanes in the SOPHIA XT stack today. Sections 8 to 11 carry the three-valued logic, the qutrit and anyon mathematics, and the design question that direction rests on.
Open problems
The threshold plot uses code-capacity noise with perfect syndrome measurement. Circuit-level noise, where the stabilizer measurements themselves fail and the decoder has to match across rounds in time, lowers the threshold to below one percent and is the next figure to build.
The eigensolver uses exact expectation values. On a device each Pauli term is estimated from shots, and the gradient signal competes with shot noise; the figure does not yet model that.
Five qubits is the limit of a state vector that redraws at animation rate on a phone. Tensor-network or Clifford simulation would extend the reach for structured circuits, and the transpiler needs routing to a fixed coupling graph before it resembles a hardware pass.
Ten essays and one
remembrance.
The notebook keeps the long reading: essays and side studies from the lab, each with figures that compute in the page. Current work and results are in the research index.
- 01 Spatial comprehension Plane fitting, tracking through occlusion, relation graphs and occupancy maps, computed on a point cloud.
- 02 Telemetric pathfinding Replanning when the map changes, sharing a grid between agents, and deciding from telemetry when a plan is stale.
- 03 AGI alignment Oversight for systems that outgrow their evaluators, with a live preference model.
- 04 Physics Fusion confinement, fluids, reconnection and a homopolar disc, each with a solver you can run.
- 05 Quantum computing You are reading this one.
- 06 The agentic web What changes when software agents, not people, read the pages.
- 07 Ethical AI Fairness metrics, federated learning, differential privacy, and how a model is made to persuade.
- 08 Digital feudalism Who owns what a billion people wrote, and what that does to the commons.
- 09 Rico Inf Curve Particle streams in a four-singularity well, and the propellantless ship sized to the numbers.
- 10 AI and humanity An essay and analysis of where the two curves meet.
- · In memoriam: Nuno F. Loureiro A tribute to the plasma physicist, 1977 to 2025.