ORNL-QCI / tnqvm

Tensor Network QPU Simulator for Eclipse XACC
43 stars 10 forks source link

Fixed a bug when refactoring wavefunc slicing into helper function #72

Closed 1tnguyen closed 3 years ago

1tnguyen commented 3 years ago

The single amplitude was returned in an one-element vector. I accidentally use an invalid index to get the imaginary part.

Signed-off-by: Thien Nguyen nguyentm@ornl.gov