Skip to content

code_n can be very slow because the default depends on constructing the code #601

@Krastanov

Description

@Krastanov

In #594 we noticed that significant slowdown happens due to how slow nqubits and code_n are when called on a difficult to construct code.

A test like (@timed nqubit(code) ) < 10 seconds should be added to code properties to ensure we do not have such a slowdown.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingperformance bugSomething is unreasonably slow

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions