mit-han-lab/torchquantum

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.

65
/ 100
Established

Supports statevector and pulse-level GPU simulation scaling to 30+ qubits, with dynamic computation graphs enabling interactive debugging. Integrates seamlessly with PyTorch's autograd for automatic gradient computation and batch tensorized processing, plus Qiskit for hardware deployment. Distinguishes itself through trainable parameterized gates, hybrid classical-quantum model construction, and measurement strategies supporting both analytical and stochastic sampling.

1,607 stars and 1,023 monthly downloads. Used by 1 other package. Available on PyPI.

Maintenance 6 / 25
Adoption 18 / 25
Maturity 18 / 25
Community 23 / 25

How are scores calculated?

Stars

1,607

Forks

245

Language

Jupyter Notebook

License

MIT

Last pushed

Oct 28, 2025

Monthly downloads

1,023

Commits (30d)

0

Dependencies

19

Reverse dependents

1

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/mit-han-lab/torchquantum"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.