GTorlai / PastaQ.jl

Package for Simulation, Tomography and Analysis of Quantum Computers
Apache License 2.0
142 stars 23 forks source link

Error in examples test making random circuits #194

Closed mtfishman closed 3 years ago

mtfishman commented 3 years ago

https://github.com/GTorlai/PastaQ.jl/blob/afcc5af3f089cb249293bd90414332a8986a735e/test/utils.jl#L84-L104

mtfishman commented 3 years ago

This randomly errors (maybe related to using even or odd sites).

GTorlai commented 3 years ago

This is related to circuit containing only 2 qubits, since there is only one possible two-qubit gate pattern you can apply (in contrast with even-odd pattern for N>3).