Top AI Repos — open-source AI, indexed and scored
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
Top AI Repos tracks AI repositories on GitHub and answers two different questions about each one: is it moving right now, and would you bet a product on it.
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.
| Date | Stars |
|---|---|
| 2026-07-24 | 1650 |
| 2026-07-25 | 1651 |
| 2026-07-28 | 1651 |
| 2026-07-30 | 1651 |
| 2026-07-31 | 1654 |
| 2026-08-05 | 1655 |
| 2026-08-06 | 1655 |
Today
— stars today
This week
+4 stars this week
This month
— stars this month
Momentum
0.0
growth rate 0.24%/day
<p align="center">
<img src="torchquantum_logo.jpg" alt="torchquantum Logo" width="450">
</p>
<h2><p align="center">Quantum Computing in PyTorch</p></h2>
<h3><p align="center">Faster, Scalable, Easy Debugging, Easy Deployment on Real Machine</p></h3>
<p align="center">
<a href="https://torchquantum.readthedocs.io/">
<img alt="Documentation" src="https://img.shields.io/readthedocs/torchquantum/main">
</a>
<a href="https://github.com/mit-han-lab/torchquantum/blob/master/LICENSE">
<img alt="MIT License" src="https://img.shields.io/github/license/mit-han-lab/torchquantum">
</a>
<a href="https://join.slack.com/t/torchquantum/shared_invite/zt-1ghuf283a-OtP4mCPJREd~367VX~TaQQ">
<img alt="Chat @ Slack" src="https://img.shields.io/badge/slack-chat-2eb67d.svg?logo=slack">
</a>
<a href="https://discord.gg/VTHZAB5E">
<img alt="Chat @ Discord" src="https://img.shields.io/badge/contact-me-blue?logo=discord&logoColor=white">
</a>
<!-- <a href="https://qmlsys.hanruiwang.me">
<img alt="Forum" src="https://img.shields.io/discourse/status?server=https%3A%2F%2Fqmlsys.hanruiwang.me%2F">
</a> -->
<a href="https://qmlsys.mit.edu">
<img alt="Website" src="https://img.shields.io/website?up_message=qmlsys&url=https%3A%2F%2Fqmlsys.mit.edu">
</a>
<a href="https://pypi.org/project/torchquantum/">
<img alt="Pypi" src="https://img.shields.io/pypi/v/torchquantum">
</a>
<a href="https://unitary.fund/">
<img alt="Pypi" src="https://img.shields.io/badge/supported%20by-Unitary%20Fund-green">
</a>
</a>
<a href="https://pytorch.org/ecosystem/">
<img alt="Pypi" src="https://img.shields.io/badge/integration%20-PyTorch%20Ecosystem-blue">
</a>
</a>
<a href="https://qiskit.org/ecosystem/">
<img alt="Pypi" src="https://img.shields.io/badge/integration%20-Qiskit%20Ecosystem-blue">
</a>
</p>
<br />
# 👋 Welcome
#### What it is doing
Simulate quantum computations on classical hardware using PyTorch. It supports statevector simulation and pulse simulation on GPUs. It can scale up to the simulation of 30+ qubits with multiple GPUs.
#### Who will benefit
Researchers on quantum algorithm design, parameterized quantum circuit training, quantum optimal control, quantum machine learning, quantum neural networks.
#### Differences from Qiskit/Pennylane
Dynamic computation graph, automatic gradient computation, fast GPU support, batch model tensorized processing.
## News
- Torchquantum is used in the winning team for ACM Quantum Computing for Drug Discovery Challenge.
- Torchquantum is highlighted in [unitaryHACK](https://2024.unitaryhack.dev/projects/torchquantum/).
- TorchQuantum received a [Unitary Foundation microgrant](https://unitary.foundation/grants/).
- TorchQuantum is integrated to [IBM Qiskit Ecosystem](https://qiskit.github.io/ecosystem/).
- TorchQuantum is integrated to [PyTorch Ecosystem](https://pytorch.org/ecosystem/).
- v0.1.8 Available!
- Check the [dev branch](https://github.com/mit-han-lab/torchquantum/tree/dev) for new latest features on quantum layers and quantum algorithms.
- Join our [Slack](https://join.slack.com/t/torchquantum/shared_invite/zt-1ghuf283a-OtP4mCPJREd~367VX~TaQQ) for real time support!
- Welcome to contribute! Please contact us or post in the Github Issues if you want to have new examples implemented by TorchQuantum or any other questions.
- Qmlsys website goes online: [qmlsys.mit.edu](https://qmlsys.mit.edu) and [torchquantum.org](https://torchquantum.org)
## Features
- Easy construction and simulation of quantum circuits in **PyTorch**
- **Dynamic computation graph** for easy debugging
- **Gradient support** via autograd
- **Batch mode** inference and training on **CPU/GPU**
- Easy **deployment on real quantum devices** such as IBMQ
- **Easy hybrid classical-quantum** model construction
- (coming soon) **pulse-level simulation**
## Installation
```bash
giExcerpt of 17,298 characters
Read on GitHub1.0k
142
35
25
24
18
18
14
10
10
9
7
5
4
4
4
4
3
2
2
Would you bet a product on this? Bounded 0–100 and slow moving.
matched fp:6042be6d1f630be8, topic:deep-learning, topic:neural-network, topic:pytorch