Skip to content

Allow partial initial_layout #14994

@jyu00

Description

@jyu00

What should we add?

The current transpiler only allows specifying the initial layout of ALL qubits. We have users who want to fix the assignment of only some of the qubits in their circuit to physical qubits on the target QPU, and leaving the transpiler to select the layout of the remaining qubits in the circuit.

For instance, they may want to preselect the location of certain qubits in their circuit to optimize performance. In the case of the user in this story, they are attempting to create a model for combining two or more QPUs together, linking them through particular physical qubits. While the user can specify all of the qubits in the intial_layout, it will become especially cumbersome as the number of qubits in their circuits that they do not want to fix in place grows.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions