Problem
@alexanderivrii reports that this
cargo run --release 0.785398163395 1e-10 --verbose
fails to terminate for at least a few minutes.
Expected behavior
It should terminate with a correct gate string.
Other implementations of this algorithm terminate in < 1s with a correct result
Note
0.785398163395 ≈ π/4. Up to a phase, the correct output is "T". But we have not implemented up-to-a-phase. So the correct output is a long string of gates.
Version
a335c5f