Native macOS Quantum Workbench

Some Of The Fastest Quantum Algorithms On Apple Silicon, Built On MLX And Hand-Tuned Metal Shaders

Native MLX state-vector simulation that beats Qiskit Aer and PennyLane on your own Mac.

Qupertino is a three-part project: a self-published technical report, the Qupertino simulator stack, and the dedicated QuantumStudio desktop UI studio. There is no native MLX quantum simulator available today, so Qupertino provides a local simulator layer for QFT, QAOA, VQE, Hamiltonian workflows, and OpenQASM runs.

It runs in two tiers on the same hardware: a pure-MLX array-kernel tier, and an opt-in tier of hand-written Metal shaders covering every structured layer family. On an M1 Max the Metal tier is fastest in all 18 comparison cells against Qiskit Aer CPU and PennyLane lightning.qubit — 25-qubit QFT in 59 ms (47× Aer, 95× PennyLane, and faster than MLX's own mx.fft) — and accelerates 26 of 29 workloads up to 25× over the pure tier.

60+ Example Circuits Unified Memory MLX GPU Runtime 1-25 Qubit Studies
59 ms25-qubit QFT
18/18Fastest cells
95×vs PennyLane
26/29Workloads sped up
25×Over pure MLX

Apple Silicon focus • M-series benchmark results • 60+ example circuits • Local execution

Scroll to explore

Measured Results (Paper Snapshot)

Representative measurements from the M1 Max evaluation setup in the technical report (32 GB unified memory, Apple Silicon, MLX backend).

59ms QFT @ 25 qubits, Metal shader tier (Aer CPU: 2.80s, 47× paired)
18 / 18 Comparison cells where the Metal tier is fastest (vs Aer CPU + PennyLane)
26 / 29 Benchmark workloads accelerated by the shader tier (up to 25× over pure MLX)
95× Paired QFT speedup over PennyLane lightning.qubit @ 25q
Wall time at 25 qubits across four backends
25-qubit wall time, same machine, gate-identical circuits (log scale, lower is better). The Metal shader tier is fastest in every cell.
Algorithm @ 25 qubits Metal tier (s) Pure MLX (s) Notes (same-machine, gate-identical, interleaved)
QFT 0.059 0.721 Aer CPU 2.80, lightning.qubit 5.61; Metal beats mx.fft (0.077)
QAOA (ring, 6 layers) 0.150 2.07 Aer 5.35, lightning 6.84
TFIM Hamiltonian Simulation (20 steps) 0.495 5.82 Aer 17.79, lightning 32.95
Phase Estimation 0.105 0.91 Aer 4.05, lightning 6.06
Grover (diffusion proxy) 0.052 1.11 Aer 1.21, lightning 2.73
GHZ 0.022 0.27 Aer 0.69, lightning 0.42
Long-range Ising (all-to-all) 0.615 14.8 Full-suite paired sweep; 300 bonds in one weighted pass (24×)
Heisenberg chain (Trotter) 1.71 23.1 Full-suite paired sweep; Walsh-conjugated XX/YY layers (13.8×)
QFT scaling 15 to 25 qubits
QFT scaling, 15–25 qubits.
TFIM Trotter scaling 15 to 25 qubits
TFIM Trotter scaling, 15–25 qubits.
Metal shader speedup over pure MLX across 29 workloads
Every gate-based workload, Metal shaders vs pure MLX at 25 qubits (paired). 26 of 29 accelerate up to 25×; the three 1.0× rows are structurally unfusable and correctly left at parity.

One Project, Three Parts

QuantumStudio combines research, software, and pedagogy in one workflow that moves from theory to execution to verification.

1) The Technical Report

The report, "Qupertino: Structured-Gate Kernel Dispatch for Quantum Circuit Simulation on Apple Silicon with MLX," is a self-published technical write-up that defines the benchmark methods, hardware assumptions, algorithm coverage, and measured results on Apple Silicon, including same-machine Qiskit Aer CPU and PennyLane lightning.qubit baselines on gate-identical circuits.

The report is unpublished; the PDF and LaTeX source are not currently distributed.

2) The Qupertino Simulator

Qupertino is the local simulation engine. It implements state-vector execution, gate libraries, algorithm routines, and OpenQASM support for reproducible runs on macOS.

3) The QuantumStudio UI

QuantumStudio is the dedicated desktop UI studio for configuring runs, launching benchmark suites, monitoring execution, and exporting structured artifacts for analysis and reporting around the benchmark workflow.

A Longer Intro: Why Qupertino Exists

Qupertino productizes the core results from our technical report on MLX-native quantum simulation with structured-gate kernel dispatch on Apple Silicon.

Most high-performance quantum simulators are optimized around CUDA and discrete GPU memory models. Apple Silicon works differently: CPU and GPU share one unified memory pool, which removes explicit host-device copies and simplifies the programming model. Qupertino ships two measured performance tiers. The pure-MLX tier uses structured-gate kernel dispatch: diagonal gates run as broadcast phase multiplies, controlled gates as masked half-state updates, and SWAP as an axis permutation, all in MLX array operations. The Metal shader tier (one flag: MLXQ_METAL_KERNELS=1) adds hand-written kernels for every structured layer family — phase-LUT diagonals, GF(2) permutation gathers that run any CNOT/X/SWAP block as one pass, fused single-qubit layers, radix-4 QFT and Walsh–Hadamard butterflies — reached through fusion detectors that preserve circuit semantics exactly and are parity-tested against the pure path.

In our M1 Max evaluations (32 GB unified memory, four-way interleaved ten-repeat protocol on gate-identical circuits), the Metal shader tier is fastest in all 18 comparison cells against Qiskit Aer CPU and PennyLane lightning.qubit: 25-qubit QFT completes in 59 ms (47× over Aer, 95× over PennyLane, paired per-repeat ratios), TFIM Trotter evolution in 0.50 s (36× and 67×), and GHZ preparation in 22 ms. The pure-MLX tier alone remains fastest among the CPU-comparable backends on most 25-qubit workloads. Across the full 29-workload suite, the shader tier accelerates 26 workloads by up to 25× over pure MLX. The same architecture supports reproducible benchmark artifacts (CSV/JSON), OpenQASM 2.0 circuit import, and broad algorithm coverage across VQE, QAOA, QCBM, QFT, Grover, and time-evolution workflows.

Reliability is built into the stack: the framework is validated with 234 regression tests and benchmark alignment against widely used suites and ecosystems, including QASMBench, PennyLane, Yao.jl, and Qulacs. The website experience you are viewing is the product-facing layer over that same technical foundation.

Architecture and Context

Key technical points from the Qupertino technical report, translated into practical product guidance for users.

Unified Memory Changes the Model

Apple Silicon is not a discrete GPU workflow. CPU and GPU share one physical memory pool, so state vectors can stay resident without explicit host-device transfers. This reduces orchestration overhead and improves interactive iteration for many NISQ-era workloads.

No Native MLX Quantum Runtime

MLX is widely used for ML workloads, but there is currently no native MLX quantum simulator runtime. Qupertino addresses that gap by providing a local state-vector simulator stack, gate libraries, algorithm modules, and benchmark tooling in one desktop workflow.

Paper-Driven Benchmark Scope

The benchmark families follow community baselines and algorithm classes used in research practice: QASMBench/OpenQASM circuits, QFT/phase estimation, variational methods (VQE/QAOA/QCBM), Grover search, and Hamiltonian simulation via Trotter-Suzuki decomposition.

Reproducibility by Default

Runs generate structured artifacts with consistent timing outputs and machine-readable exports. The goal is not just raw speed, but repeatable experiment bookkeeping for publication, classroom use, and cross-framework comparison.

Validation and Reproducibility

The paper reports 235 validation tests spanning gate correctness, parser behavior, algorithm outputs, and tutorial-backed educational examples.

235 Tests

Regression coverage includes gate operations, state preparation, algorithm-level checks, and framework parity validations.

OpenQASM 2.0

Parser and execution coverage includes single-, two-, and three-qubit gate families with user-defined gate inlining and practical benchmark circuit compatibility.

Cross-Framework Alignment

Benchmark families are aligned with widely used ecosystems (PennyLane, Yao.jl, Qulacs, QuantumToolbox.jl, QASMBench) for stronger external comparability.

Artifact Exports

Timing outputs and benchmark summaries are emitted as machine-readable CSV/JSON artifacts for independent reruns and publication appendices.

Memory Envelope

Complex64 state vectors scale from 8 MB at 20 qubits to 256 MB at 25 qubits, 8 GB at 30 qubits, and 256 GB at 35 qubits.

Local-First Workflow

Benchmark orchestration, queueing, logs, and output review run locally on macOS, minimizing external dependencies during experiment cycles.

Qupertino Screens

Current desktop snapshots from a complete local workflow: benchmark selection, run orchestration, live logs, and export-ready outputs.

This gallery maps directly to the research workflow described in the paper: define workload families, launch runs with fixed parameters, monitor state-vector execution on Apple Silicon, and collect comparable artifacts for analysis.

Instead of isolated screenshots, read this section as one continuous pipeline from circuit definition to reproducible report output.

Qupertino screen 001
Circuit WorkspaceBuild and inspect gate-level circuit structure before execution.
Qupertino screen 002
Run ConfigurationSet qubit ranges, benchmark families, and simulator controls for reproducible runs.
Qupertino screen 003
Operations DashboardTrack queue state, current job progress, and system context while jobs run locally.
Qupertino screen 004
Runtime ConsoleReview execution logs and intermediate benchmark artifacts during long experiments.
Qupertino screen 005
Results and ReportsInspect plots and exported summaries for publication and cross-framework comparison.

Supported Benchmarks

Comprehensive benchmark coverage including standard OpenQASM workloads, variational algorithms, and time-evolution simulations.

QASMBench

Reproduces OpenQASM workloads across chemistry, optimization, arithmetic, and ML circuits.

QFT & Phase Estimation

Fourier primitives validated against analytical transforms and reference-style benchmark data.

Variational Circuits

VQE, QAOA, and QCBM with hardware-efficient ansatze and optimization loops.

Time Evolution

Trotter-Suzuki Hamiltonian simulation (including Ising/Heisenberg-style model workloads).

Benchmark Representative Data Scope Notes
Random Circuit 22q: 2.45s • 23q: 5.16s • 25q: 22.40s M-series runs State-vector scaling snapshot
Variational (HE ansatz) 22q: 2.11s • 23q: 4.44s • 25q: 19.24s VQE / QAOA / QCBM family Hardware-efficient ansatz profile
Grover Search 21q: 1.82s • 22q: 5.00s • 24q: 40.08s Oracle + amplitude amplification Rapid growth at higher qubits
Coverage QASMBench, QFT, phase estimation, variational, Hamiltonian, Grover OpenQASM + custom circuits Designed for reproducible studies
Validation 251 executable tests Correctness and regression checks Includes educational QIT verification appendix

On-Device Workflows

Build circuits, launch parameter sweeps, and inspect noise behavior without sending data off your machine. Every phase of experimentation remains local by default.

Publication-Ready Benchmarking

Qupertino is built for Apple Silicon unified memory. Because there is currently no native MLX quantum simulator, Qupertino provides the local state-vector layer and workflow tooling directly in the app. It supports QFT, QAOA, QCBM, Grover, Hamiltonian simulation, and OpenQASM 2.0 import with reproducible artifacts validated by 150+ executable tests.

Per-Family Scaling Plots (pure-MLX tier)

Per-family scaling exports for the pure-MLX tier. The headline four-backend comparison and the Metal shader speedups are in the Performance section above.

QFT scaling plot
qft_scaling.png
QCBM scaling plot
qcbm_scaling.png
QAOA scaling plot
qaoa_scaling.png
VQE scaling plot
vqe_scaling.png
Hamiltonian simulation scaling plot
hamiltonian_simulation_scaling.png
Grover scaling plot
grover_scaling.png

Start Qupertino on Your Mac

Qupertino is free and open source under the MIT License. Both the source code and the macOS binaries are free to use, modify, and redistribute — no purchase or license key required.

Alpha Release

This is an early alpha version intended for testing and development. Features may be incomplete, unstable, or change significantly before the stable release. Please report any issues on GitHub.

Unsigned Build

This macOS build is not signed by Apple. Remove the quarantine attribute in Terminal before first launch:

# If installed to /Applications (system-wide):
xattr -d com.apple.quarantine /Applications/QuantumStudio.app

# If installed to ~/Applications (user-only):
xattr -d com.apple.quarantine ~/Applications/QuantumStudio.app

Why? macOS quarantines downloaded apps. For unsigned apps, Gatekeeper may block execution until this flag is removed.

Does Qupertino require internet access?

Core simulation runs locally on your Mac. Internet is only needed for things like downloads, purchases, or visiting external resources.

Is there a native MLX quantum simulator today?

No. There is currently no native MLX quantum simulator shipped as a platform runtime, which is why Qupertino includes its own local simulator stack.

Where can I review privacy and license terms?

Use the linked pages for Privacy, Terms, and License.