Git Product home page Git Product logo

arunsehrawat / variational_quantum_algorithms_for_quadratic_unconstrained_binary_optimization_using_pytorch Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 0.0 279 KB

Jupyter Notebook 100.00%
optimization pytorch quantum-algorithms quantum-chemistry quantum-computing quantum-machine-learning qubo variational-quantum-eigensolver combinatorial-optimization parametrized-quantum-gates quantum-neural-network

variational_quantum_algorithms_for_quadratic_unconstrained_binary_optimization_using_pytorch's Introduction

Variational Quantum Algorithms (VQA) for Quadratic Unconstrained Binary Optimization (QUBO) using PyTorch

In the attached Jupyter notebook, I have presented a Variational Quantum Algorithm (VQA) [1] for a Quadratic Unconstrained Binary Optimization (QUBO) problem. A QUBO belongs to the NP-hard class, and it is equivalent to find the minimum energy (ground) state of a spin (Ising) Hamiltonian [2]. Here, the implementation of VQA is done using PyTorch.

Problem instance

prob_VQA

Algorithm: VQA

QNN

Solution

sol_VQA

[1] Peruzzo, A., McClean, J., Shadbolt, P. et al. A variational eigenvalue solver on a photonic quantum processor. Nat Commun 5, 4213 (2014).

[2] Lucas A (2014) Ising formulations of many NP problems. Front. Physics 2:5.

[3] Marcello Benedetti et al 2019 Quantum Sci. Technol. 4 043001

variational_quantum_algorithms_for_quadratic_unconstrained_binary_optimization_using_pytorch's People

Contributors

arunsehrawat avatar

Stargazers

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