Skip to content

♻️ Layout Improvements: Injective Mapping and Non-Consecutive Qubit Indices #1867

Description

@MatthiasReumann

The Layout class currently has the following issues:

  • The bidirectional mapping is implemented using SmallVectors. This assumes consecutive qubit indices. However, one can easily imagine a scenario where this isn't the case.
  • The mapping enforces bijection. However, usually hardware.size() >= program.size(). The Layout class should somehow reflect this property.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Task.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions