Coder Social home page Coder Social logo

mahdi-torabian / d-wave-reverse-annealing-notebook Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dwave-examples/reverse-annealing-notebook

0.0 0.0 0.0 192 KB

Demonstrates reverse annealing on D-Wave quantum computers.

License: Other

Python 19.25% Jupyter Notebook 80.75%

d-wave-reverse-annealing-notebook's Introduction

Open in GitHub Codespaces Linux/Mac/Windows build status

Reverse Anneal

This notebook explains and demonstrates the reverse-anneal feature.

Reverse annealing is a technique that makes it possible to refine known good local solutions, thereby increasing performance for certain applications. It comprises (1) annealing backward from a known classical state to a mid-anneal state of quantum superposition, (2) searching for optimum solutions at this mid-anneal point while in the presence of an increased transverse field (quantum state), and then (3) proceeding forward to a new classical state at the end of the anneal.

The notebook has the following sections:

  1. The Reverse Anneal Feature explains the feature and its parameters.
  2. Using the Reverse Anneal Feature demonstrates the use of the feature on a random example problem.
  3. Analysis on a 16-Bit Problem uses reverse annealing on a known problem and compares the results with other anneal methods.
  4. Modulating the Reverse-Annealing Parameters provides code that lets you sweep through various anneal schedules to explore the effect on results.

energy

Installation

You can run this example without installation in cloud-based IDEs that support the Development Containers specification (aka "devcontainers").

For development environments that do not support devcontainers, install requirements:

pip install -r requirements.txt

If you are cloning the repo to your local system, working in a virtual environment is recommended.

Usage

Your development environment should be configured to access Leap’s Solvers. You can see information about supported IDEs and authorizing access to your Leap account here.

The notebook can be opened by clicking on the 01-reverse-annealing.ipynb file in VS Code-based IDEs.

To run a locally installed notebook:

jupyter notebook

License

See LICENSE file.

d-wave-reverse-annealing-notebook's People

Contributors

joelpasvolsky avatar randomir 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.