Skip to content

Golden answer for empty Circuit.draw() output does not match pinned Qibo 0.2.23 #21

Description

@jf-kong

The benchmark golden answer for the empty Circuit.draw() case appears inconsistent with the Qibo version pinned by this repo.

On main, Qibo is pinned to 0.2.23 in pyproject.toml and poetry.lock. With that version, an empty 3-qubit circuit with wire names draws one dash per wire:

from qibo import Circuit

circuit = Circuit(3, wire_names=["A", "B", "C"])
circuit.draw()

Actual output with qibo==0.2.23:
A: ─
B: ─
C: ─

But settings_json/golden_answers_2.json expects:

A: ─────
B: ─────
C: ─────

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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