mit-han-lab/torchquantum
Some data may be outdated — see provenance labels.
A PyTorch-based framework for Quantum Classical Simulation, Quantum Machine Learning, Quantum Neural Networks, Parameterized Quantum Circuits with support for easy deployments on real quantum computers. observed · 2026-09-22
Health v2 · maintenance only
60/100
- Activity 83
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 2084
- days_rel: n/a
- days_push: 107
- n_releases_24m: 0
Adoption not part of the score
1669 stars · 265 forks observed · 2026-09-22
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
TorchQuantum is a PyTorch-based framework for quantum computing simulation, supporting statevector and pulse-level simulation on GPUs with automatic gradient computation for parameterized quantum circuits. It scales to 30+ qubits with multi-GPU support and integrates with the PyTorch and Qiskit ecosystems for deployment on real quantum computers.
Use cases
- train quantum neural networks with PyTorch autograd
- simulate parameterized quantum circuits on GPU
- research quantum machine learning algorithms
- simulate 30+ qubit circuits with multiple GPUs
- deploy trained circuits to real quantum computers
- perform quantum optimal control with pulse-level simulation
- batch-simulate many quantum circuits in parallel
When to choose
- you want quantum circuits as differentiable PyTorch modules with dynamic computation graphs
- you need fast GPU-accelerated or multi-GPU quantum simulation
- you are training parameterized quantum circuits or doing quantum machine learning research
- you want easy debugging of intermediate quantum states
When to avoid
- you only need circuit construction and execution on IBM hardware without PyTorch training - Qiskit alone may suffice
- you need hybrid frameworks with extensive quantum algorithm libraries like PennyLane's ecosystem
- you need simulation beyond ~30 qubits
- you are not working in Python/PyTorch
Facets
library · maturity active
machine-learning simulation deep-learning sdk quantum-computing machine-learning deep-learning python cross-platform quantum-machine-learning quantum-neural-networks parameterized-quantum-circuits pytorch quantum-simulation qiskit-ecosystem statevector-simulation pulse-simulation algorithms gpu
3 sources
- readme: https://github.com/mit-han-lab/torchquantum · fetched 2026-09-22 · ef57a5170d38
- homepage: https://torchquantum.org · fetched 2026-08-29 · 8bc6c8b21364
- registry_pypi: https://pypi.org/pypi/torchquantum/json · fetched 2026-08-29 · 93940102f8f2
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| mit-han-lab/torchquantum | main | 60 |
For agents
markdown · JSON · MCP: product_card(name="mit-han-lab/torchquantum")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem