Code Monkey home page Code Monkey logo

quantum_tsp_tutorials's Introduction

Quantum TSP tutorial

Introduction

This repository contains code with tutorials on how to approach optimization problems using quantum computing. I used Travelling Salesman Problem for this tutorials, though the idea is, that after finishing it, you should be able to implement any similar optimization problem.

Is this tutorial right for you?

I have created this tutorial with specific audience in mind. It means people, who:

  • are curious about quantum computing,
  • don't have any background in quantum physics,
  • have some programming experience,
  • really want to learn this topic.

The last point is the most important. My goal here is not to show you how to solve TSP with a quantum computer. My goal is to teach you how to solve optimization problems with QC, make sure your solution works and how to improve it. To do all that you need to put some effort into it and spend a couple of hours trying to understand all the concepts. But this is on purpose - this is the best way I know to actually learn the topic and integrate this knowledge.

I did my best to provide you with all the necessary knowledge, code examples etc. If you think something is not clear, missing, you have a better idea - well, I encourage you to do one of these two things:

I don't want to say that it is super advanced and hard - as stated earlier, you don't have to be a quantum computing expert.

Dependencies

In this tutorial I used pyquil 2.2.1 and grove 1.7.0 . API of these librares may change in next versions - let me know if something is broken so I can fix it :)

About the author

My name is Michał and I work as Quantum Software Engineer at Zapata Computing. You can find more materials onmy blog Musty thoughts.

If you want to contact me - feel free to do so: [email protected] .

Unitary Fund

This project is supported by Unitary Fund. If you have an idea for an open-source project for near term hybrid quantum-classical programming, this is a good place for you!

Unitary Fund

Thanks

Thanks to Jacek Łysiak and Katerina Gratsea for feedback!

quantum_tsp_tutorials's People

Contributors

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