ngnrsaa / qflex

Flexible Quantum Circuit Simulator (qFlex) implements an efficient tensor network, CPU-based simulator of large quantum circuits.
Apache License 2.0
97 stars 24 forks source link

Support copying with rank-zero tensors. #288

Closed 95-martin-orion closed 4 years ago

95-martin-orion commented 4 years ago

Fixes #284. Tests are included to make sure that real memory-leak issues are still caught.