munich-quantum-toolkit / munich-quantum-toolkit/core
♻️ Layout Improvements: Injective Mapping and Non-Consecutive Qubit Indices
Open
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 133
- Forks
- 73
- Avg merge
- 17h 34m
- Merged PRs (30d)
- 261
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Layout class and its SmallVector-based bidirectional mapping implementation. Study how qubit indices and hardware/program sizes are represented, then define and validate a design that supports non-consecutive indices and hardware sizes greater than program sizes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- compilers
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100