Skip to content

cirq.RouterCQC does not respect the connectivity graph when routing a circuit #7892

@alejogoogle

Description

@alejogoogle

Describe the issue

See MWE colab. I am trying to route a circuit that requires triangular connectivity into the Willow chip.

Needed connectivity
Image

Willow patch to connect to

Image

After routing, the routed circuit is using only a 3x3 square lattice of qubits, instead of the full diamond I expected

Image

I checked that my connectivity graph is built properly, here is the drawing of the graphImage

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/bug-reportSomething doesn't seem to work.priority/after-1.7Leave for after the Cirq 1.7 releasetriage/needs-more-evidence[Feature requests] Seems plausible, but maintainers are not convinced about the use cases yet

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions