This circuit was created on the Quirk platform. I'm trying to implement a basic case of phase estimation. For some reason, I'm getting this strange result.
When the Inverse QFT is broken down, it seems to yield the expected answer:
I have no idea why this is happening. I tried playing around with the endian-ness of the qubits, but it didn't seem to work.