QuantumComputingLab / fable

Fast Approximate Block Encodings
Other
17 stars 5 forks source link

_util.py error #2

Open AlessandroZ94 opened 1 month ago

AlessandroZ94 commented 1 month ago

Hi, i'm a student using your library to understand block encoding and learn quantum computing. While using it I found an error related to the _util.py file. In particular there is a circ.cnot(j, 0) but in Qiskit convention this is indicated as circ.cx(j, 0).

Mathewvanh commented 3 hours ago

I ran into this too. You should just change it to cx in your local installation and it will work correctly!.