munich-quantum-toolkit / munich-quantum-toolkit/core

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

Open
#1,867 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.