graphix icon indicating copy to clipboard operation
graphix copied to clipboard

Enable efficient contraction order simulation

Open nabe98 opened this issue 1 year ago • 5 comments

Before submitting, please check the following:

  • Make sure you have tests for the new code and that test passes (run tox)
  • If applicable, add a line to the [unreleased] part of CHANGELOG.md, following keep-a-changelog.
  • Format added code by black and isort
    • See pyproject.toml for configurations

Then, please fill in below:

Context (if applicable):

Description of the change: Enabled TN contraction based state vector simulator, which is more efficient compared with pure state-vector simulation.

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.

nabe98 avatar Jun 17 '24 12:06 nabe98

Codecov Report

Attention: Patch coverage is 97.59036% with 2 lines in your changes missing coverage. Please review.

Project coverage is 75.89%. Comparing base (364be19) to head (d124700). Report is 47 commits behind head on master.

Files with missing lines Patch % Lines
graphix/random_objects.py 96.77% 2 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #166      +/-   ##
==========================================
+ Coverage   75.52%   75.89%   +0.37%     
==========================================
  Files          34       34              
  Lines        5569     5638      +69     
==========================================
+ Hits         4206     4279      +73     
+ Misses       1363     1359       -4     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

codecov[bot] avatar Jun 17 '24 12:06 codecov[bot]

@nabe98 can you paste benchmarking result (plot) on this page?

shinich1 avatar Aug 03 '24 07:08 shinich1

OK. I'll share that as soon as I return to my home (around 8/7).

nabe98 avatar Aug 04 '24 08:08 nabe98

@shinich1 Here is the benchmarking result plot. simulation_time

nabe98 avatar Aug 09 '24 14:08 nabe98

simulation_time The latest benchmarking plot with error bars (for 5 iterations).

nabe98 avatar Aug 19 '24 11:08 nabe98

closing because of no activities for a year, we can re-open when interest emerge.

shinich1 avatar May 26 '25 11:05 shinich1