Coder Social home page Coder Social logo

laranea / qmlt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xanaduai/qmlt

0.0 1.0 0.0 3.78 MB

The Quantum Machine Learning Toolbox (QMLT) is a Strawberry Fields application that simplifies the optimization of variational quantum circuits (also known as parametrized quantum circuits).

Home Page: https://qmlt.readthedocs.io

License: Apache License 2.0

Makefile 0.80% Python 99.20%

qmlt's Introduction

Notice: This library is no longer actively maintained. Its spiritual successor is PennyLane

Quantum Machine Learning Toolbox (QMLT)

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 the QMLT, as well as all required Python packages mentioned above, can be done using pip:

$ python -m pip install qmlt

Tests

To run all tests please run the following line from the main directory:

$ python -m unittest discover tests

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.

qmlt's People

Contributors

co9olguy avatar josh146 avatar mariaschuld avatar mstechly avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.