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

Specify set of output bitstring. #259

Closed s-mandra closed 4 years ago

s-mandra commented 4 years ago

At the moment, there are two ways to assign an output bitstring. Either specifying a single final bitstring through --final-conf or specifying multiple final cuts in the ordering file:

[...]
# BEGIN TERMINAL CUTS
cut (0, 1) 2
cut (0) 3
cut (0) 4
cut (0, 1) 5
cut (0) 6
cut (0) 11
cut (0) 15
[...]

It would be great to include the possibility to specify multiple output bitstring, perhaps recycling part of the initial tensors to reduce the computational cost.

s-mandra commented 4 years ago

See also #258.

s-mandra commented 4 years ago

See #263.