Skip to main content
Travis Codecov coverage Codacy grade Read the Docs PyPI - Python Version

The Quantum Machine Learning Toolbox (QMLT) is a Strawberry Fields application that simplifies the optimization of variational quantum circuits. Tasks for the QMLT range from variational eigensolvers and unitary learning to supervised and unsupervised machine learning with models based on a variational circuit.

Features

The Quantum Machine Learning Toolbox supports:

  • The training of user-provided variational circuits

  • Automatic and numerical differentiation methods to compute gradients of circuit outputs

  • Optimization, supervised and unsupervised learning tasks

  • Regularization of circuit parameters

  • Logging of training results

  • Monitoring and visualization of training through matplotlib and TensorBoard

  • Saving and restoring trained models

  • Parallel computation/GPU usage for TensorFlow-based models

To get started, please see the online documentation.

Installation

Installation of SFOpenBoson, as well as all required Python packages mentioned above, can be done using pip:

$ python -m pip install qmlt

Code authors

Maria Schuld and Josh Izaac.

If you are doing research using Strawberry Fields, please cite our whitepaper and the QMLT documentation:

Nathan Killoran, Josh Izaac, Nicolás Quesada, Ville Bergholm, Matthew Amy, and Christian Weedbrook. Strawberry Fields: A Software Platform for Photonic Quantum Computing. arXiv, 2018. arXiv:1804.03159

Maria Schuld and Josh Izaac. Xanadu Quantum Machine Learning Toolbox documentation. https://qmlt.readthedocs.io.

Support

If you are having issues, please let us know by posting the issue on our Github issue tracker.

We also have a Strawberry Fields Slack channel - come join the discussion and chat with our Strawberry Fields team.

License

QMLT is free and open source, released under the Apache License, Version 2.0.

Metadata

Release files for qmlt 0.7.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qmlt 0.7.1
File Size Uploaded
qmlt-0.7.1.tar.gz 43.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qmlt 0.7.1
File Interpreter ABI Platform
qmlt-0.7.1-py3-none-any.whl Python 3 none any Details

Total release size: 78.8 kB

Release files / qmlt-0.7.1.tar.gz

Download URL qmlt-0.7.1.tar.gz
Size 43.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5e0d69ef70380fe4ae9a7ee63842f89ae1913533b2b1bd0be32853f3fe4df9b6
BLAKE2b-256 checksum
How to use checksums
5f6496cb71d2bd1638d8906990316f60edba86057e7266e7cb265c6d4a13bb96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / qmlt-0.7.1-py3-none-any.whl

Download URL qmlt-0.7.1-py3-none-any.whl
Size 34.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d939f8c82bb72570bbbd2822eaaf414473ed77de1860a7a8168dea43ed5eb63b
BLAKE2b-256 checksum
How to use checksums
d1c6942d0468cee069c99f6792543e6b8bacaa5aa8e3699acecc51730e497581
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.7.1 This release

2 release files

0.7.0

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page