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.
The
Layoutclass currently has the following issues:SmallVectors. This assumes consecutive qubit indices. However, one can easily imagine a scenario where this isn't the case.hardware.size() >= program.size(). The Layout class should somehow reflect this property.