https://github.com/qgrad/qgrad
A Python library to integrate automatic differentiation tools such as JAX with QuTiP and related quantum software packages.
https://github.com/qgrad/qgrad
Last synced: 5 months ago
JSON representation
A Python library to integrate automatic differentiation tools such as JAX with QuTiP and related quantum software packages.
- Host: GitHub
- URL: https://github.com/qgrad/qgrad
- Owner: qgrad
- License: bsd-3-clause
- Created: 2020-06-09T06:04:06.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-05-08T00:50:49.000Z (about 4 years ago)
- Last Synced: 2025-11-29T10:23:34.730Z (7 months ago)
- Language: Python
- Homepage:
- Size: 6.63 MB
- Stars: 43
- Watchers: 5
- Forks: 13
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-quantum-software - QGrad - Library to integrate automatic differentiation tools such as JAX with QuTiP and related quantum software packages. (Quantum algorithms)
README
# qgrad
[](https://qgrad.readthedocs.io/en/latest/?badge=latest)
[](https://github.com/qgrad/qgrad/actions)
A Python library to integrate automatic differentiation tools such as JAX with QuTiP and related quantum software packages.
This package is a work in progress. Feel free to take part in the discussions by opening new issues.
- [Installation](#installation)
- [About](#about)
- [Documentation](#documentation)
- [Contributing](#contributing)
- [Acknowledgements](#acknowledgements)
## Installation
To install ``qgrad`` development version, clone this repository and from the terminal type
```
python setup.py develop
```
### Requirements
``qgrad`` dependencies are automatically installed with `pip`. They are:
``numpy scipy matplotlib cython pytest qutip jax``
## About
``qgrad`` is a library that implements Hamiltonian learning in the context of quantum physics-based optimization tasks.
``qgrad`` reproduces essential [QuTiP](http://qutip.org/) functions to reduce the friction for existing QuTiP users.
``qgrad`` leverages the powerful Python scientific stack and interfaces with the popular machine learning library JAX, to make auto-differentiation of many quantum routines possible for the desired learning tasks.
## Documentation
The latest documentation can be found [here](https://qgrad.readthedocs.io/en/latest). It includes the API reference and examples.
## Contributing
We are in the early stages of designing the tool and welcome any discussion in the form of [Issues](https://github.com/qgrad/qgrad/issues/new) or Pull Requests.
## Acknowledgements
This package started as part of @araza6's GSoC 2020 project.
All the work relevant to GSoC 2020 is compiled in
this release: https://github.com/qgrad/qgrad/releases/tag/0.0.dev2