Back to News
quantum-computing

mlxQ: Unified Memory Quantum Simulation on Apple Silicon via the MLX Framework

Reddit r/QuantumComputing (RSS)
Loading...
2 min read
0 likes
⚡ Quantum Brief
A groundbreaking quantum simulator, mlxQ, leverages Apple’s unified memory architecture to enable high-performance quantum circuit simulations on consumer Mac hardware, eliminating traditional GPU bottlenecks. The open-source framework supports full state-vector simulations for 25+ qubits, with automatic GPU acceleration via Apple’s MLX, removing the need for CUDA or specialized hardware. It includes a comprehensive algorithm suite (VQE, QAOA, QFT) and OpenQASM 2.0 compatibility, validated through 235 regression tests and 12 educational tutorials. Benchmarking on M1 Max hardware shows competitive performance: 25-qubit QFT in 7.03 seconds, outperforming traditional frameworks like PennyLane and cuQuantum. The project democratizes quantum research by offering a rigorous, accessible toolkit for developers, educators, and researchers using standard MacBooks.
mlxQ: Unified Memory Quantum Simulation on Apple Silicon via the MLX Framework

Summarize this article with:

Excited to share that my paper has been accepted as a Full Paper at QUANTICS 2026, with a 25-minute oral presentation slot. https://preview.redd.it/ik5l3gufzjzg1.png?width=2988&format=png&auto=webp&s=5343094b08396d2beed97f0e4d75bea7e28fe8a5 Title: "mlxQ: Unified Memory Quantum Simulation on Apple Silicon via the MLX Framework". Open source: https://github.com/BoltzmannEntropy/osxQ The goal was simple: make quantum algorithm development accessible to anyone with a Mac, without compromising on rigor. For years, serious quantum circuit simulation has required NVIDIA CUDA infrastructure, discrete GPUs, explicit memory transfers, and specialized hardware that puts it out of reach for most researchers and educators. Built on Apple's MLX framework, mlxQ is the first comprehensive quantum circuit simulator designed from the ground up for unified memory, where the CPU and GPU share the same physical memory pool, eliminating the PCIe transfer overhead that dominates shallow-circuit execution on traditional GPU setups. What it does: - Full state-vector simulation up to 25+ qubits on consumer hardware - Automatic Metal GPU acceleration — no shader programming required - Complete algorithm suite: VQE, QAOA, QCBM, QFT, Grover, Hamiltonian simulation - OpenQASM 2.0 import for standardized benchmarking - 235 regression tests with analytical pen-and-paper verification - 12 complete tutorials with mathematical derivations - A fully working terminal UI (QuantumStudio) to run the entire benchmark suite interactively - Benchmarked against PennyLane, Yao.jl, Qulacs, and cuQuantum On M1 Max hardware: 25-qubit QFT in 7.03s, QAOA in 11.07s, Hamiltonian simulation in 40.73s — all on a MacBook. https://boltzmannentropy.github.io/osxQuantumWEB/ submitted by /u/QuanstScientist [link] [comments]

Read Original

Tags

quantum-programming
quantum-geopolitics
government-funding
quantum-algorithms
quantum-hardware
quantum-simulation

Source Information

Source: Reddit r/QuantumComputing (RSS)