qiskit-camp-asia-19 icon indicating copy to clipboard operation
qiskit-camp-asia-19 copied to clipboard

Graph colouring and an improved hamiltonian simulation algorithm

Open anedumla opened this issue 5 years ago • 10 comments

Abstract

The problem of Hamiltonian simulation can be described as, given a hermitian matrix H and a real number t, find a circuit for exp(iHt).

Usually this is a hard problem and a widely used algorithm is:

  1. Find a decomposition H = H_1 + H_2 +... + H_m such that we can find circuits for each exp(iH_j t).
  2. Approximate exp(iHt) by a product of the exp(iH_j t) (i.e. by putting the smaller circuits in sequence) according to the e.g. Lie-Trotter and Suzuki formulae.

Step 2. is already implemented in Qiskit. The goal of this project would be to obtain the full algorithm by implementing Step 1., which would consist on two parts: finding a decomposition and finding circuits for each exp(iH_j t).

One of the existing ideas to find a decomposition is to view H as the adjacency matrix of a graph, find an edge colouring of such graph and associate the subgraph induced by colour j to H_j. Such a decomposition guarantees that the H_j are 1-sparse (at most one non-zero entry per row or column), and in the literature it has been described how to obtain the circuits for the Hamiltonian simulation of 1-sparse matrices.

Refereneces:

  • Finding a decomposition: https://arxiv.org/pdf/quant-ph/0209131.pdf , https://arxiv.org/pdf/quant-ph/0508139.pdf
  • 1-sparse Hamiltonian simulation: https://arxiv.org/pdf/quant-ph/0209131.pdf , https://prism.ucalgary.ca/handle/1880/41417/restricted-resource?bitstreamId=4fafa2ac-6065-4984-aa1c-985601bf4123 [Section 4.4.2.]

Description

Members

  • @githubhandle
  • @githubhandle - Slack: @slackhandle email: [email protected]
  • Qiskit Coach: @anedumla

Deliverable

GitHub repo

anedumla avatar Nov 17 '19 15:11 anedumla

Hi, this sounds interesting. I hope we could have a discussion on this topic.

JRWSP avatar Nov 17 '19 17:11 JRWSP

Hi, this sounds interesting. I hope we could have a discussion on this topic.

Good to hear that! yes, of course, we can talk about it.

anedumla avatar Nov 18 '19 03:11 anedumla

My name is Atsuya Hasegawa. I am interested in it.

atsuyahasegawa avatar Nov 19 '19 01:11 atsuyahasegawa

I’m in

YU-ZU avatar Nov 19 '19 01:11 YU-ZU

I'm interested in this! Computer science major

martian17 avatar Nov 19 '19 01:11 martian17

I'm in

martian17 avatar Nov 19 '19 01:11 martian17

I am interested in this issue.

hyungseokChang avatar Nov 19 '19 01:11 hyungseokChang

https://github.com/martian17/qiskit-graph-coloring

martian17 avatar Nov 19 '19 02:11 martian17

https://www.geeksforgeeks.org/edge-coloring-of-a-graph/

atsuyahasegawa avatar Nov 19 '19 02:11 atsuyahasegawa

https://gist.github.com/martian17/865336f906f0778e942f8488ae2b337c

martian17 avatar Nov 19 '19 04:11 martian17