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

Support rank > 2 in heuristic ordering #140

Closed 95-martin-orion closed 5 years ago

95-martin-orion commented 5 years ago

Resolves #124. Modified tests to include SWAPs, but otherwise kept the grid the same; as expected, the generated ordering does not change.

s-mandra commented 5 years ago

See #145.

95-martin-orion commented 5 years ago

Right now, qFlex doesn't implement SWAPs but only fSim. However, iSWAPs can be directly mapped to fSim.

Replaced SWAP with iSWAP in test.

s-mandra commented 5 years ago

Once Ben has fixed the code to run fSim, I'll adjust this PR. Thanks!