Skip to main content

Machine learning and optimization of quantum optical circuits

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qmlt-0.7.1.tar.gz (43.9 kB view details)

Uploaded Source

Built Distribution

qmlt-0.7.1-py3-none-any.whl (34.9 kB view details)

Uploaded Python 3

File details

Details for the file qmlt-0.7.1.tar.gz.

File metadata

  • Download URL: qmlt-0.7.1.tar.gz
  • Upload date:
  • Size: 43.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for qmlt-0.7.1.tar.gz
Algorithm Hash digest
SHA256 5e0d69ef70380fe4ae9a7ee63842f89ae1913533b2b1bd0be32853f3fe4df9b6
MD5 715d7249d3f65141ad879bf1a5549ad7
BLAKE2b-256 5f6496cb71d2bd1638d8906990316f60edba86057e7266e7cb265c6d4a13bb96

See more details on using hashes here.

File details

Details for the file qmlt-0.7.1-py3-none-any.whl.

File metadata

File hashes

Hashes for qmlt-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d939f8c82bb72570bbbd2822eaaf414473ed77de1860a7a8168dea43ed5eb63b
MD5 f9b3f7755c625481b122b53430a971ce
BLAKE2b-256 d1c6942d0468cee069c99f6792543e6b8bacaa5aa8e3699acecc51730e497581

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page