applications · quantum
Unified-memory quantum-circuit simulation for Apple Silicon. Built in modern C++ on MLX, with automatic Metal acceleration — no manual shaders, no explicit memory copies. Designed for the research workflow, not the demo reel.
PennyLane-compatible front end. Performance benchmarks and design notes are documented below.
Browse by section:
osxQuantum is a state-vector quantum circuit simulator optimized for Apple Silicon, created by QNeura. It integrates tightly with MLX to deliver automatic Metal acceleration without manual shaders or explicit host-device memory copies.
The API follows PennyLane-style abstractions while remaining pure C++ for the core engine. The simulator includes an extensive gate library (Pauli, controlled gates, Toffoli, QFT), variational stacks (VQE, QAOA, QCBM), and quantum information primitives.
Validation spans 150+ executable tests and an educational appendix with fully solved QIT items for pen-and-paper verification.
MLX keeps the quantum state as an mlx::core::array in unified memory. Kernels are JIT-compiled and dispatched across CPU/GPU automatically.
Comprehensive benchmark coverage including standard OpenQASM workloads, variational algorithms, and time evolution simulations.
Reproduces standard OpenQASM workloads across chemistry, optimization, arithmetic, and machine learning circuits.
Fast Fourier primitives validated against analytical transforms and community reference data.
VQE, QAOA, QCBM with hardware-efficient ansatze and SPSA-style optimization.
Trotter-Suzuki product formulas and Hamiltonian simulation (Ising/Heisenberg) on unified memory.
Amplitude amplification with scalable oracle injection and measurement pipelines.
Density-matrix experiments mirroring QuantumToolbox/QuTiP studies.
Representative qubit counts vs wall-clock time in seconds
| Qubits | Time (s) |
|---|---|
| 22 | 2.45 |
| 23 | 5.16 |
| 24 | 10.79 |
| 25 | 22.40 |
| Qubits | Time (s) |
|---|---|
| 22 | 2.11 |
| 23 | 4.44 |
| 24 | 9.23 |
| 25 | 19.24 |
| Qubits | Time (s) |
|---|---|
| 21 | 1.82 |
| 22 | 5.00 |
| 23 | 14.20 |
| 24 | 40.08 |
Interested in benchmarking on your Mac Studio, or integrating osxQuantum into your research?