Skip to content

Command line program fails to terminate for some input #10

@jlapeyre

Description

@jlapeyre

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions