Open bramathon opened 7 months ago
csynkque meeting - this works as intended, but the error message can be improved to suggest using a higher precision complex128 type. Another consideration is to expose a tolerance atol
argument which would allow higher round-offs for complex64 data type.
Description of the issue
How to reproduce the issue
Use the example circuit: example-circuit.json
Now, if we change the dtype to np.complex128, the error goes away.
Suggested solution: set the default value of dtype to np.complex128 or np.complex256
Cirq version 1.3.0