Simulating a 2²⁷-dimensional Hilbert space in my pocket: Running a 27-qubit QuEST state-vector simulation locally on a $150(CAD) Moto G Play (4GB RAM / ARM64)

Understand this faster with AI
Usually, state-vector simulations around 27–30 qubits are reserved for workstations or cloud nodes due to the exponential memory scaling (\(2^n \times 16\text{ bytes}\) in double precision). Just to see where mobile silicon hits a wall, I compiled QuEST (Quantum Exact Simulation Toolkit) natively for ARM64 on an unrooted $150 Moto G Play (2024) (Snapdragon 680, 4GB LPDDR4X RAM) via Termux.
The Benchmark Specs: • Qubits: 27 (tracking 134,217,728 complex amplitudes simultaneously) • State Vector Footprint: 2,048.0 MB (locking up 50% of the phone's total physical RAM while Android 14 and a screen recorder stayed running underneath) • Parallelization: OpenMP enabled across all 8 cores (4x Cortex-A73 + 4x Cortex-A53) • Runtime & Normalization: Completed in 229.25 seconds (~3m 49s) with Total Prob: 1.000000 (and zero OOM-killer intervention from Android). Obviously, 28 qubits is a hard wall in double precision since 4,096 MB immediately starves the OS, though compiling with -DPRECISION=1 (single precision) should theoretically let this little Snapdragon squeeze into a 28-qubit state space. Here is the live execution alongside htop if anyone wants to watch a budget ARM chip grind through a 27-qubit circuit: https://m.youtube.com/watch?v=86ZEM92j2wA Note: My YouTube channel only had 3 subs, and 5 videos with less than 300 views combined. It's not monetized. I only posted the link because native video uploads are not enabled on this sub. submitted by /u/Maiki_Konjo [link] [comments]
Tags
Source Information
Discussion
0 professional contributions
Sign in to join this professional discussion.
Be the first to add a constructive contribution.
