rigetti / reference-qvm

A reference implementation for a quantum virtual machine in Python
Apache License 2.0
46 stars 20 forks source link

Faster tensor up #12

Closed ncrubin closed 6 years ago

ncrubin commented 6 years ago

tensor_up improvement such that gates are multiplied together in sparse format.

Also corrected wavefunction test that was failing because phase convention is now treated differently.