TimeCrystal-Q: a discrete time crystal lab - Floquet spin chain, period doubling, pi-paired spectra!
188
Discrete Time Crystal Physics Lab — by Darion Kellar
Educational discrete time crystal lab in ONE pure-Python file: an exactly simulated Floquet spin chain (≤ 10 qubits, statevector) that answers its periodic drive at twice the drive period — period doubling with a subharmonic order parameter, an imperfect-π-pulse rigidity plateau, the load-bearing role of interactions, a (ε, J) phase diagram labelled by real runs, an exact 2-qubit Floquet spectrum with π-paired quasienergies, and an honest side-by-side with the 2021 Google Sycamore experiment.
Pure Python standard library. Zero dependencies. Zero network. Honest scope: this is an exact, noiseless simulation of the mechanism — NOT a replication of the experiment, never presented as measured data — and every real-hardware / live-operation action is a permanent HOLD gate (14 total).
docker pull credkellar/timecrystal-q:latest docker run --rm credkellar/timecrystal-q:latest
The default command runs the full demo plus the built-in self-checks (CHECKS 41/41).
Run a specific command instead:
docker run --rm credkellar/timecrystal-q:latest python3 main.py checks # CHECKS 41/41 docker run --rm credkellar/timecrystal-q:latest python3 main.py evolve # one DTC run, diagnostics JSON docker run --rm credkellar/timecrystal-q:latest python3 main.py plateau # rigidity plateau scan docker run --rm credkellar/timecrystal-q:latest python3 main.py phase # (epsilon, J) phase diagram docker run --rm credkellar/timecrystal-q:latest python3 main.py spectrum # quasienergies + pi-pairing docker run --rm credkellar/timecrystal-q:latest python3 main.py holds # 14 HOLD gates
docker pull credkellar/timecrystal-q:latest