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 25 forks source link

Add 'depth' parameter to limit the actual depth of circuit. #143

Open 95-martin-orion opened 5 years ago

95-martin-orion commented 5 years ago

Currently, specifying 'depth' to qFlex instead of using the auto-computed depth will result in an error, since it doesn't actually limit the number of cycles processed from the circuit file.

This will probably be simplest to fix after #115 is completed - until then, documenting this issue in the help message should be enough.

s-mandra commented 5 years ago

Agreed. Let me change the title to be more informative.

benjaminvillalonga commented 5 years ago

See #115

s-mandra commented 5 years ago

At the moment, users cannot specify the depth so I declassify this as improvement rather than bug.