TeamGraphix / graphix

measurement-based quantum computing (MBQC) compiler and simulator
https://graphix.readthedocs.io
Apache License 2.0
55 stars 20 forks source link

92 efficient contraction order statevector simulator #114

Closed nabe98 closed 3 weeks ago

nabe98 commented 5 months ago

Before submitting, please check the following:

Then, please fill in below:

Context (if applicable):

Description of the change:

add TN contract based state vector simulator

Related issue:

92

also see that checks (github actions) pass. If lint check keeps failing, try installing black==22.8.0 as behavior seems to vary across versions.

shinich1 commented 3 months ago

@nabe98 do we have benchmark plot for this backend?

nabe98 commented 2 months ago

@shinich1 @masa10-f has a benchmark code and plot and shared that with me. In the next commit, I will include that!

shinich1 commented 2 months ago

@nabe98 nice! you can just paste on a comment here. where did you plan to add it in the next commit?

masa10-f commented 2 months ago

I will remove graph_prep argument and mps keyword later becuase the former is not critical point in tensor network calculation and the latter is not properly implemneted in Graphix.