UCL-CCS / symmer

An efficient Python-based framework for implementing qubit subspace methods, reducing the resource requirements for near-term quantum simulations.
MIT License
37 stars 9 forks source link

QuantumState init from_array added and state sampling functionality given #73

Closed AlexisRalli closed 1 year ago

AlexisRalli commented 1 year ago

Can initalize quantum state from an array directly now.

Can also sample state in computational basis

codecov-commenter commented 1 year ago

Codecov Report

Merging #73 (2713bac) into main (f2614f9) will decrease coverage by 0.04%. The diff coverage is 0.00%.

@@           Coverage Diff            @@
##            main     #73      +/-   ##
========================================
- Coverage   4.58%   4.54%   -0.05%     
========================================
  Files         27      27              
  Lines       2485    2510      +25     
========================================
  Hits         114     114              
- Misses      2371    2396      +25     
Flag Coverage Δ
tests 4.54% <0.00%> (-0.05%) :arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
symmer/symplectic/base.py 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.