All Projects → PennyLaneAI → Qml

PennyLaneAI / Qml

Licence: apache-2.0
Introductions to key concepts in quantum machine learning, as well as tutorials and implementations from cutting-edge QML research.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Qml

Pennylane
PennyLane is a cross-platform Python library for differentiable programming of quantum computers. Train a quantum computer the same way as a neural network.
Stars: ✭ 800 (+359.77%)
Mutual labels:  quantum-computing, automatic-differentiation, quantum-chemistry
Quantumflow Dev
QuantumFlow: A Quantum Algorithms Development Toolkit
Stars: ✭ 43 (-75.29%)
Mutual labels:  quantum-computing, automatic-differentiation
Qualia2.0
Qualia is a deep learning framework deeply integrated with automatic differentiation and dynamic graphing with CUDA acceleration. Qualia was built from scratch.
Stars: ✭ 41 (-76.44%)
Mutual labels:  neural-networks, automatic-differentiation
Adcme.jl
Automatic Differentiation Library for Computational and Mathematical Engineering
Stars: ✭ 106 (-39.08%)
Mutual labels:  neural-networks, automatic-differentiation
Awesome Quantum Software
Curated list of open-source quantum software projects.
Stars: ✭ 647 (+271.84%)
Mutual labels:  quantum-computing, quantum-chemistry
Arraymancer
A fast, ergonomic and portable tensor library in Nim with a deep learning focus for CPU, GPU and embedded devices via OpenMP, Cuda and OpenCL backends
Stars: ✭ 793 (+355.75%)
Mutual labels:  neural-networks, automatic-differentiation
Openfermion Psi4
OpenFermion plugin to interface with the electronic structure package Psi4.
Stars: ✭ 63 (-63.79%)
Mutual labels:  quantum-computing, quantum-chemistry
Openfermion Cirq
Quantum circuits for simulations of quantum chemistry and materials.
Stars: ✭ 258 (+48.28%)
Mutual labels:  quantum-computing, quantum-chemistry
Iqx User Guide
The users guide for the IBM Q experience
Stars: ✭ 115 (-33.91%)
Mutual labels:  quantum-computing, tutorials
Git Cheats
Git Cheats - Interactive Cheatsheet For Git Commands
Stars: ✭ 124 (-28.74%)
Mutual labels:  tutorials, demo
Awesome Quantum Machine Learning
Here you can get all the Quantum Machine learning Basics, Algorithms ,Study Materials ,Projects and the descriptions of the projects around the web
Stars: ✭ 1,940 (+1014.94%)
Mutual labels:  quantum-computing, qml
Start Machine Learning In 2020
A complete guide to start and improve in machine learning (ML), artificial intelligence (AI) in 2021 without ANY background in the field and stay up-to-date with the latest news and state-of-the-art techniques!
Stars: ✭ 357 (+105.17%)
Mutual labels:  tutorials, neural-networks
Grassmann.jl
⟨Leibniz-Grassmann-Clifford⟩ differential geometric algebra / multivector simplicial complex
Stars: ✭ 289 (+66.09%)
Mutual labels:  quantum-computing, automatic-differentiation
Autograd.jl
Julia port of the Python autograd package.
Stars: ✭ 147 (-15.52%)
Mutual labels:  neural-networks, automatic-differentiation
Rust Autograd
Tensors and differentiable operations (like TensorFlow) in Rust
Stars: ✭ 278 (+59.77%)
Mutual labels:  neural-networks, automatic-differentiation
Openfermion
The electronic structure package for quantum computers.
Stars: ✭ 1,099 (+531.61%)
Mutual labels:  quantum-computing, quantum-chemistry
launchpad
Resources to get started in Quantum Computing!
Stars: ✭ 21 (-87.93%)
Mutual labels:  tutorials, quantum-computing
OpenFermion-PySCF
OpenFermion plugin to interface with the electronic structure package PySCF.
Stars: ✭ 76 (-56.32%)
Mutual labels:  quantum-computing, quantum-chemistry
Quantum Algorithms Tutorials
Tutorials for Quantum Algorithms with Qiskit implementations.
Stars: ✭ 115 (-33.91%)
Mutual labels:  quantum-computing, tutorials
Learnquantum
Repo of resources to help learn about quantum computing.
Stars: ✭ 143 (-17.82%)
Mutual labels:  quantum-computing, quantum-chemistry

This repository contains introductory materials on Quantum Machine Learning, as well as Python code demos using PennyLane, a cross-platform Python library for differentiable programming of quantum computers.

The content consists of four main areas:

Explore these materials on our website: https://pennylane.ai/qml. All tutorials are fully executable, and can be downloaded as Jupyter notebooks and Python scripts.

Contributing

You can contribute by submitting a demo via pull request implementing a recent quantum machine learning paper/result.

Adding demos

  • Demos are written in the form of an executable Python script. Any package listed in requirements.txt you can assume is available to be imported. Matplotlib plots will be automatically rendered and displayed on the QML website.

    Note: try and keep execution time of your script to within 10 minutes.

  • If you would like to write the demo using a Jupyter notebook, you can convert the notebook to the required executable Python format by using this script.

  • All demos should have a file name beginning with tutorial_. The python files are saved in the demonstrations directory.

  • Restructured Text sections may be anywhere within the script by beginning the comment with 79 hashes (#). These are useful for breaking up large code-blocks.

  • You may add figures within ReST comments by using the following syntax:

    ##############################################################################
    #.. figure:: ../demonstrations/<demo name>/image.png
    #    :align: center
    #    :width: 90%
    

    where <demo name> is a sub-directory with the name of your demo.

  • When complete, create a gallery link to your demo. This can be done by adding the snippet below to demos_basic.rst for introductory demos, or demos_research.rst for more advanced topics, such as those based on research papers.

    .. customgalleryitem::
        :tooltip: An extended description of the demo
        :figure: demonstrations/<demo name>/thumbnail.png
        :description: :doc:`demos/pytorch_noise`
    

    You should also add a link to your demo to the table of contents, by adding to the end of the .. toctree:: in the appropriate file.

    If you're unsure which file to put your demo in, choose the one you think is best, and we will work together to sort it during the review process.

  • Finally, run your script through the Black Python formatter,

    pip install black
    black -l 100 demo_new.py
    

    and you are ready to submit a pull request!

If your demo uses the latest release of PennyLane, simply make your PR against the master branch. If you instead require the cutting-edge development versions of PennyLane or any relevant plugins, make your PR against the dev branch instead.

Tutorial guidelines

While you are free to be as creative as you like with your demo, there are a couple of guidelines to keep in mind.

  • Submissions should include your name (and optionally email) at the top under the title.

  • All contributions must be made under the Apache 2.0 license.

  • The title should be clear and concise, and if based on a paper it should be similar to the paper that is being implemented.

  • All demos should include a summary below the title. The summary should be 1-3 sentences that makes clear the goal and outcome of the demo, and links to any papers/resources used.

  • Code should be clearly commented and explained, either as a ReST-formatted comment or a standard Python comment.

  • Thumbnails should be legible, interesting, and unique --- but not too busy! Any included text should be minimal and legible.

  • If your content contains random variables/outputs, a fixed seed should be set for reproducibility.

  • All content must be original or free to reuse subject to license compatibility. For example, if you are implementing someone else's research, reach out first to recieve permission to reproduce exact figures. Otherwise, avoid direct screenshots from papers, and instead refer to figures in the paper within the text.

  • All submissions must pass code review before being merged into the repository.

Building

To build the website locally, simply run make html. The rendered HTML files will now be available in _build/html. Open _build/html/index.html to browse the built site locally.

Note that the above command may take some time, as all demos will be executed and built! Once built, only modified demos will be re-executed/re-built.

Alternatively, you may run make html-norun to build the website without executing demos, or build only a single demo using the following command:

sphinx-build -D sphinx_gallery_conf.filename_pattern=tutorial_QGAN\.py -b html . _build

where tutorial_QGAN should be replaced with the name of the demo to build.

Support

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

We are committed to providing a friendly, safe, and welcoming environment for all. Please read and respect the Code of Conduct.

License

The materials and demos in this repository are free and open source, released under the Apache License, Version 2.0.

The file custom_directives.py is available under the BSD 3-Clause License with Copyright (c) 2017, Pytorch contributors.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].