Giter VIP home page Giter VIP logo

useqip's Introduction

USEQIP

These are the Qiskit coding projects/experiments I ran during the USEQIP program at the IQC at UWaterloo, Summer 2019.

Max-Cut

The Max-Cut project is my implementation of the Quantum Approximate Optimization Algorithm [1] on the Max-Cut problem as a quantum subroutine of an unsupervised learning algorithm. The project and implementation is based off of a recent paper by the Rigetti Computing Group [2].

In particular, the QAOA is a short-depth circuit; 2 CNOT gates per adjacent edge of the maximum out-degree vertex, parametrized by a pair of angles \gamma, \beta. After running and measuring the circuit for some number of shots, each bitstring measured is mapped to a cut (S, V\S), over which the maximum correspondent cut value is returned. Bayesian Optimization is then used to maximize the resulting cut value by optimizing over the choice of angles. I use the BayesianOptimization python package [3] to do so.

[1] E. Farhi, J. Goldstone, S. Gutmann e-print arXiv 1411.4028 (2014)

[2] Rigetti Computing, 'Unsupervised Machine Learning on a Hybrid Quantum Computer' (2017)

[3] https://github.com/fmfn/BayesianOptimization

useqip's People

Contributors

thiagorwb avatar

Watchers

James Cloos 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.