Skip to content

Truncate long barrier labels when drawing circuits #15774

@ihincks

Description

@ihincks

What should we add?

The draw method has an option, expr_len, that lets you truncate rendered expressions. This issue proposes an analogy for barrier labels. Long labels make the drawings difficult to read by adding excessive horizontal space.

This could be done with an option like barrier_label_len: int.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions