Skip to content

Misaligned two-qubit gate diagrams for deep circuits #5719

Open
@andbe91

Description

@andbe91

Description of the issue
Lines connecting two qubits get gradually misaligned for deep circuits in Google colab (with a supposedly monospaced font).
image

How to reproduce the issue

import cirq
q0, q1 = cirq.LineQubit.range(2)
circuit = cirq.Circuit([cirq.CZ(q0, q1)] * 200)
print(circuit)

Cirq version
0.15.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/colabgood first issueThis issue can be resolved by someone who is not familiar with the codebase. A good starting issue.kind/bug-reportSomething doesn't seem to work.triage/acceptedA consensus emerged that this bug report, feature request, or other action should be worked on

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions