← macsta.co.uk
Macsta Security

My Quantum Journey

No-nonsense notes, plain-English breakdowns, visual hardware tours, our AiTrader Quantum Qollab blueprint, and dyslexia-friendly single-column editions of core quantum computing papers.

Core quantum papers reformatted into strictly single-column OpenDyslexic web readers and downloadable PDFs—complete with warm background themes, adjustable font sizing, a reading ruler, and plain-English Dave’s Guide boxes before every major section.

Start Here · Quantum Computing for Beginners · arXiv:2504.00995v2

A Minimal Introduction to Quantum Computing (Zero Physics Prerequisites)

If wavefunctions and physics notation make your eyes glaze over, start with this 15-minute primer. Written specifically for programmers and ML engineers, it strips away the physics jargon and explains qubits, superposition, ket notation (|0⟩, |1⟩), tensor products (⊗), entanglement, and quantum phase interference purely as a logical state machine.

Open Beginner Dyslexic Reader Download Single-Column PDF (1.4 MB) Original arXiv →
Featured Architecture Paper · arXiv:2604.19481v1

Fault-Tolerant Quantum Computing with Trapped Ions: The Walking Cat Architecture

The original 110-page, two-column IonQ architecture paper reformatted into a strictly single-column OpenDyslexic edition (322 PDF pages / full interactive web reader). Includes plain-English Dave’s Guide boxes before all seven parts and inline explanations for jargon like the Cat Factory (the assembly line that pre-builds and tests entangled Schrödinger’s-cat helper states so faults cannot spread across data qubits), qLDPC codes, and Magic State factories.

Open Walking Cat ⚡ ADHD Bionic Reader Download ⚡ ADHD Bionic PDF (40.8 MB) Download OpenDyslexic PDF (17.3 MB) Original arXiv →
Next on My List · AI + Distributed QAOA · arXiv:2607.20225v1

DQAOA-GPT: Generative Pre-Trained Transformer for Distributed QAOA on Higher-Order HUBO Graphs

Co-authored by Oak Ridge National Lab, NVIDIA (Yuri Alexeev), and IonQ (Martin Roetteler, Nora Bauer) on NVIDIA H200 GPUs running CUDA-Q. Shows how to solve 100-variable 3rd-order HUBO (3-way correlation) problems by decomposing them into n=12 sub-graphs, encoding their structure with FEATHER graph embeddings, and using a trained GPT Transformer to generate the quantum circuits in a single forward pass—cutting runtime from 684 seconds down to 28 seconds (24× speedup).

Open DQAOA-GPT Dyslexic Reader Download Single-Column PDF (1.7 MB) Original arXiv →

Reading List

The essential stack covering hybrid AI–QPU circuit generation, parameter-free combinatorial optimization (LR-QAOA), quantum-guided Monte Carlo (QC-AFQMC), high-rate qLDPC error correction, QCCD ion shuttling physics, and QFT risk analysis.

1. AI + Distributed QAOA · arXiv:2607.20225 · Reader Live

DQAOA-GPT: AI-Accelerated Distributed Quantum Optimization for Combinatorial Problems

Authors: Seongmin Kim, Abhinav Rijal, Yuri Alexeev (NVIDIA), Nora Bauer, Martin Roetteler (IonQ), Mina Yoon, George Siopsis & In-Saeng Suh (ORNL)

Standard variational QAOA gets bogged down in a costly classical outer loop hunting for circuit angles across noisy “barren plateaus.” DQAOA-GPT pairs Distributed QAOA (splitting 100-variable 3rd-order HUBO graphs into 12-qubit sub-problems) with a Generative Pretrained Transformer (GPT) running on H200 GPUs to synthesize the quantum optimization circuits in one forward pass—achieving a 24× runtime speedup (28s vs. 684s).

Open Interactive Dyslexic Reader Download Single-Column PDF (1.7 MB) arXiv:2607.20225 →
2. Core Algorithm & Benchmark · arXiv:2405.09169 & 2502.06471 · Reader Live

Linear-Ramp QAOA (LR-QAOA): Non-Variational Combinatorial Optimization & Large-Scale QPU Benchmarking

Authors: J. Alejandro Montanez-Barrera (IonQ) & Kristel Michielsen

Replaces classical angle optimization in QAOA with a deterministic, fixed linear ramp schedule of βk, γk parameters. Not only does it eliminate classical training overhead on combinatorial optimization (MaxCut / QUBO), but arXiv:2502.06471 uses LR-QAOA as an honest hardware benchmark across 24 QPUs from 6 vendors (up to 156 qubits) to test whether a machine has the real two-qubit gate fidelity (depth) to survive 100+ layers before decaying into random noise.

Open Interactive Dyslexic Reader Download Single-Column PDF (7.3 MB) LR-QAOA (2405.09169) → Open 24-QPU Benchmark Reader (2502.06471) Download 24-QPU Benchmark PDF (3.2 MB) 24-QPU Benchmark (2502.06471) →
3. Hybrid GPU + QPU Monte Carlo · arXiv:2506.22408 · Reader Live

Quantum-Classical Auxiliary-Field Quantum Monte Carlo with Matchgate Shadows on Trapped-Ion Quantum Computers

Authors: Luning Zhao, Joshua J. Goings, Willie Aboumrad (IonQ) et al.

Where quantum computing meets real-world Monte Carlo simulation. Classical AFQMC hits the exponential Fermion Sign Problem when positive and negative phase walkers cancel out into noise. This paper runs an end-to-end hybrid workflow on IonQ Forte (24 qubits) + NVIDIA GPUs: the QPU prepares a strongly correlated trial wavefunction |ΨT⟩, compresses tomography via Matchgate Classical Shadows (9× measurement reduction, 656× distributed GPU post-processing speedup), and feeds that guiding state to classical GPU Monte Carlo walkers.

Open Interactive Dyslexic Reader Download Single-Column PDF (11.2 MB) arXiv:2506.22408 →
4. QEC Foundations · arXiv:2308.07915

High-Threshold and Low-Overhead Fault-Tolerant Quantum Memory (Bivariate Bicycle qLDPC Codes)

Authors: Sergey Bravyi, Andrew W. Cross, Jay M. Gambetta, Dmitri Maslov, Patrick Rall & Theodore J. Yoder

The error-correction math that broke the 25-year monopoly of the planar Surface Code. Shows how Bivariate Bicycle (BB) qLDPC codes achieve ~10× lower physical-to-logical qubit overhead—and highlights why their long-range check graphs require either complex multi-layer couplers on fixed superconducting grids or physical ion shuttling (Walking Cat) on trapped-ion chips.

Open Interactive Dyslexic Reader Download Single-Column PDF (5.5 MB) View on arXiv (2308.07915) →
5. Trapped-Ion Hardware Physics · arXiv:2305.03828

A Race-Track Trapped-Ion Quantum Processor (QCCD Shuttling & Sympathetic Cooling)

Authors: S. A. Moses, C. H. Baldwin et al. (Quantinuum)

Ground-truth experimental physics on Quantum Charge-Coupled Device (QCCD) architectures: how ions are physically shuttled through electrode zones, split and merged, cooled mid-circuit via sympathetic cooling ions without destroying quantum coherence, and where the real microsecond latency budget goes.

Open Interactive Dyslexic Reader Download Single-Column PDF (5.4 MB) View on arXiv (2305.03828) →
6. QFT & Monte Carlo Speedup · arXiv:1805.00109

Quantum Risk Analysis: Using QFT & Quantum Amplitude Estimation to Accelerate Monte Carlo

Authors: Stefan Woerner & Daniel J. Egger

Connects the Quantum Fourier Transform (QFT) and Quantum Amplitude Estimation (QAE) directly to quantitative finance and risk modelling—showing how phase interference turns the classical O(1/ε2) Monte Carlo convergence wall into a quadratic O(1/ε) speedup for Value-at-Risk (VaR) and Conditional Value-at-Risk (CVaR).

Open Interactive Dyslexic Reader Download Single-Column PDF (1.5 MB) View on arXiv (1806.06893) →

Our Quantum Use Case — AiTrader Quantum (Qollab.xyz Blueprint)

Captured in the repeatable qollab.xyz project specification format so our use case can migrate directly onto Qollab when ready. You can also open the standalone full-screen Qollab blueprint page at /quantum/aitrader/ →

Qollab Blueprint · 1. Summary

Summary

AiTrader Quantum is a hybrid classical–quantum market regime and portfolio correlation engine built for our live cryptocurrency trading platform (AiTrader on trader / sqlca01). While classical Gradient-Boosted Trees (LightGBM) and LSTM networks excel at scoring single-asset price momentum, classical algorithms hit an exponential combinatorial wall (230 ≈ 1.07 billion joint states) when trying to evaluate higher-order cross-asset contagion across 30–100 coins during leveraged flash crashes. AiTrader offloads that combinatorial correlation graph onto all-to-all connected quantum circuits.

Qollab Blueprint · 2. Project Overview

A Quantum-Assisted Crypto Regime & Correlation Engine

In calm crypto regimes, Layer-1s (BTC, SOL, ETH), AI compute tokens (FET, RENDER), and DeFi assets move in semi-independent pockets. During liquidity squeezes or funding-rate cascades, non-linear 3-way and 4-way correlations snap toward 1.0 within minutes—turning what looked like 8 “diversified” classical trades into a single over-leveraged bet. AiTrader models the market universe as an entangled Higher-Order Ising Spin Glass (HUBO Hamiltonian) where every coin is a qubit and every pairwise (Jij) or triad (Wijk) contagion channel is a native entangling gate.

Qollab Blueprint · 3. How It Works

How It Works

  • Step 1 — Classical Conviction & Coupling Extraction: On every 15m/1h bar, classical ML computes each coin’s expected return drift (hi), pairwise tail-dependence / mutual information (Jij), and 3-body co-liquidation tension (Wijk).
  • Step 2 — Hamiltonian Mapping: We construct the cost Hamiltonian HC = Σ hi Zi + Σ Jij Zi Zj + Σ Wijk Zi Zj Zk + λ(Σ Zi - K)2 so the ground state represents the highest-conviction basket of K coins with minimal pairwise and 3-way contagion.
  • Step 3 — Zero-Variational Quantum Execution: Rather than running hundreds of noisy classical-quantum optimization loops (which fail under live trading latency constraints), we execute either a single deterministic Linear-Ramp QAOA (LR-QAOA, Reading List #2 · arXiv:2405.09169) circuit or decompose 100-coin graphs into n=12 sub-graphs solved in one forward pass by a DQAOA-GPT Transformer (Reading List #1 · arXiv:2607.20225).
Qollab Blueprint · 4. The Observation Mechanic

The Observation Mechanic

Before measurement, the quantum register holds all 2N candidate portfolio baskets in superposition, with phase interference amplifying low-risk, high-alpha combinations and canceling out correlated cluster traps. When we measure (observe) 2,000 shots:

  • The Bitstring Mode selects the optimal uncorrelated asset basket for the next trading window.
  • The Measurement Entropy (Phase Transition Detector) acts as our real-time regime circuit-breaker: when the distribution collapses into a ferromagnetic all-aligned state, it signals that cross-market contagion has locked all coins together, automatically cutting gross portfolio leverage.
Qollab Blueprint · 5. Quantum Circuits

Quantum Circuits

  • LR-QAOA + 3-Body HUBO Phase Gadgets: Uses all-to-all RZZ(2γ Jij) Mølmer–Sørensen gates and 3-qubit RZZZ(2γ Wijk) interactions across a deterministic linear ramp schedule βl = (1 - l/p)Δβ, γl = ((l+1)/p)Δγ. Because any coin can correlate with any other coin regardless of sector, Trapped-Ion all-to-all connectivity executes this dense graph with zero SWAP-routing overhead.
  • QFT Lead-Lag Cross-Spectrum Circuit: Applies an inverse Quantum Fourier Transform (QFT†) across multi-asset return windows to isolate hidden periodic phase-lead relationships (e.g., perpetual funding basis leading spot cascades).
  • QC-AFQMC (arXiv:2506.22408) Tail-Risk Guiding State: Adapts Matchgate Classical Shadows to guide classical GPU Monte Carlo drawdown walkers through fat-tailed non-Gaussian crash scenarios.
Qollab Blueprint · 6. Visual Design

Visual Design

Built with a toggleable OpenDyslexic cream reading mode alongside a high-contrast dark operator cockpit: an interactive 3D correlation hypergraph showing 2-body and 3-body entanglement tension across coins, a live QPU bitstring energy histogram comparing quantum basket selection against classical Markowitz allocation, and a single Regime Contagion gauge.

Qollab Blueprint · 7. Architecture

Architecture

3-Tier Hybrid Pipeline: (1) Classical Ingestion & ML Tier on trader + sqlca01 (ai-trader-db) generating (hi, Jij, Wijk) and FEATHER graph embeddings → (2) Quantum Circuit Tier synthesizing LR-QAOA / DQAOA-GPT circuits executed via CUDA-Q GPU simulation and cloud Trapped-Ion QPU endpoints (IonQ Forte) → (3) Risk & Execution Gate applying Kelly/CVaR position sizing and logging full telemetry back to SQL.

Qollab Blueprint · 8. Philosophy

Philosophy

Never use a Quantum Computer to do a CPU’s job. Classical ML is unmatched at scanning historical time-series features for individual assets, while Quantum Computing is built for the exponential 2N combinatorial web of how those assets entangle and crash together. By pairing classical gradient boosting with parameter-free LR-QAOA and generative DQAOA-GPT circuits, AiTrader turns quantum mechanics into a practical, latency-viable portfolio shield.

Dave’s Plain-English Quantum Field Notes (Growing Knowledge Base)

A growing knowledge base: the mental models that survived working through the hardware, control-plane, error-correction, and algorithm details.

Fault tolerance · QEC

Why QEC Needs Physical-to-Virtual (“Logical”) Qubit Ratios

A physical qubit is a noisy device: control errors, leakage, decoherence, and imperfect measurements gradually destroy the information it holds. A Virtual or Logical Qubit is an error-corrected qubit encoded across many physical qubits. Quantum error correction repeatedly extracts error syndromes without directly measuring away the encoded quantum state.

The physical-to-logical ratio is therefore the overhead paid for a useful, long-lived operation. Surface Codes on fixed two-dimensional grids can need roughly 1,000 physical qubits per logical qubit at practical error rates and code distances. Mobile trapped ions can implement high-rate quantum low-density parity-check (qLDPC) codes such as [[30,6,6]] and [[72,12,6]], using connectivity beyond a fixed nearest-neighbour grid to bring the example overhead down to roughly 12:1.

In the Walking Cat Dense architecture, that trade-off packs 110 Logical Qubits and a target of 1M T-gates/day into 2,514 physical ions. The important number is not raw physical-qubit count; it is how many reliable logical operations the whole machine can sustain.

Hardware · Width vs. depth

The 5 Hardware Modalities — Qubit Count (Width) vs. Gate Fidelity (Depth)

Width is how many usable qubits a device offers; depth is how many operations can run before noise overwhelms the result. A wide chip with weak gates is not automatically more useful than a narrower machine with excellent fidelity and connectivity.

  • Trapped ions: up to 99.99% two-qubit fidelity, all-to-all connectivity within zones, and electronic transport for cooling and reset. Movement and gates are slower, but the architecture reduces routing overhead and supports richer code layouts.
  • Superconducting circuits: fast gates and roughly 99.5%–99.9% two-qubit fidelity, usually on a fixed nearest-neighbour grid inside millikelvin dilution fridges. Scaling means managing wiring, crosstalk, fabrication variation, and error-correction routing.
  • Neutral atoms: optical tweezers make it comparatively easy to trap thousands of atoms, but optical laser heating, 0.3%–1% atom loss per cycle, slow fluorescence readout, and Rydberg-blockade crosstalk limit sustained deep computation.
  • Photonic qubits: naturally travel through optical interconnects and can operate without a matter-qubit fridge, but photon loss, source and detector efficiency, and probabilistic entangling operations move much of the difficulty into multiplexing and error correction.
  • Semiconductor spins: promise dense fabrication using semiconductor processes, while device variability, cryogenic control wiring, and consistent high-fidelity coupling remain central engineering constraints.
Hybrid systems · NVQLink

How a QPU Plugs into an LLM / Supercomputer (NVQLink & PCIe/RDMA)

A QPU is a true hardware co-processor, closer to a specialised GPU than to a remote API that happens to run quantum jobs. In the NVQLink model, NVIDIA ConnectX-7/8 PCIe Gen5 NICs and 400G RoCE v2 RDMA connect the accelerated-computing side directly to the FPGA control racks that orchestrate the QPU.

That low-latency control path targets <4 microseconds round-trip latency. It matters when a classical process must exchange data with quantum control hardware inside an algorithm, rather than submit a circuit and check back minutes later.

An LLM orchestrator or a CUDA-Q C++/Python process can invoke a quantum circuit like a synchronous tool call: prepare arguments, execute the co-processor operation, receive measurements, and continue the classical workflow. The QPU still needs calibration, control electronics, and error correction; it is not a magic faster CPU.

Algorithms · Without the hype

Quantum Algorithms Without the Hype (QFT, LR-QAOA, QC-AFQMC)

  • Shor’s Algorithm & QFT: Shor is not “trying every prime at once.” Modular exponentiation creates a repeating wave whose period reveals useful structure. The Quantum Fourier Transform (QFT) acts like a clock-face interference filter: amplitudes at the wrong frequencies cancel to 0, while the useful periodic structure becomes more likely to appear in measurement.
  • QAOA & LR-QAOA (Linear-Ramp QAOA): these target combinatorial optimisation problems expressed as QUBO or Ising spin-glass Hamiltonians. Linear-Ramp QAOA uses a fixed linear schedule of βk, γk angles instead of relying on a noisy classical outer optimisation loop. The result is a correlated portfolio or routing configuration bitstring, not a time-series price forecast.
  • QC-AFQMC (Quantum-Classical Auxiliary-Field Quantum Monte Carlo): a shallow quantum circuit prepares a reference trial wavefunction |ΨT⟩, and the QPU measures overlap amplitudes. Classical GPUs then use that quantum-prepared reference while walking in imaginary time, constraining the fermion sign problem rather than asking the QPU to perform the entire simulation.