Harness the power of JAX for state-of-the-art quantum simulations.
Project details
This project offers a high-performance quantum state-vector and tensor network simulator built entirely in JAX. By leveraging NVIDIA GPUs and Google Cloud TPU clusters, it efficiently simulates complex quantum circuits with differentiability and noise resilience, enabling research and experimentation in quantum computing.
Tpu-Accelerated-Quantum-JAX offers a high-performance, differentiable quantum state-vector and tensor network simulator that operates exclusively with JAX, eliminating dependencies on classical frameworks. It is optimized for execution on NVIDIA GPUs and Google Cloud TPU v6e-64/v5e clusters, enabling the simulation of up to 37-qubit systems with remarkable efficiency.
PositionalSharding across a 64-chip Cloud TPU v6e mesh.jax.grad, facilitating fast training for various quantum algorithms such as Variational Quantum Eigensolver (VQE), Quantum Approximate Optimization Algorithm (QAOA), and Quantum Neural Networks (QNNs).The project is organized as follows:
.
├── gpu/ # GPU Modular Simulator & Research scripts
│ ├── jax_qsim/ # Core contraction engine (tensordot + transpose)
│ └── quantum_research/ # VQE, QAOA, GHZ state preparation, noise trajectories
├── tpu/ # TPU Scaling Suite (experiments and runners)
├── shors/ # TPU-sharded Shor's Algorithm (33 qubits)
├── grover_simulation/ # Grover's Search (up to 36 qubits on 64 TPU chips)
├── tests/ # Pytest verification suite
└── requirements.txt # Core dependencies
| Environment | Hardware | Max Qubits | State-Vector Footprint | Gate Speed (10-q) |
|---|---|---|---|---|
| Local GPU | NVIDIA RTX 2050 (4 GB VRAM) | 29 | ~4.29 GB | ~0.01 ms |
| TPU Mesh (v5e-16) | 16x TPU v5e (256 GB aggregate HBM2e) | 33 | 64.00 GB | ~0.01 ms |
| TPU Mesh (v6e-64) | 64x TPU v6e (2.0 TB aggregate HBM3) | 36 | 549.76 GB | ~0.01 ms |
Gratitude is extended to the TPU Research Cloud (TRC) program by Google for providing access to Cloud TPU v6e and v5e VM clusters, which facilitated this scale of research.
For further insights into the research, benchmarks, and in-depth technical details, visit ashitesh.me.
Comments
0Start the conversation
Share the first comment.