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

Flake in Cirq interface #177

Closed 95-martin-orion closed 4 years ago

95-martin-orion commented 4 years ago

Tempfile close is racing with object destructors, causing a flake.

95-martin-orion commented 4 years ago

Related: #132 and #174

s-mandra commented 4 years ago

It seems that the problem is related to how pytest handle temporary files. If run without pytest, everything works as expected.

alexandrupaler commented 4 years ago

i will take care of this.

alexandrupaler commented 4 years ago

Related by the folder restructuring of #249?