munich-quantum-toolkit / munich-quantum-toolkit/debugger
✨ Support updating values during execution
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 21
- Forks
- 7
- Avg merge
- 9h 28m
- Merged PRs (30d)
- 42
Description
What's the problem this feature will solve?
Typical debuggers often allow users to set the values of variables during execution. Having a similar feature for this in the MQT Debugger would be interesting.
This new feature should also be added to the DAP
Describe the solution you'd like
This comes in two forms:
- Setting classical values: Updating classical variables allows the developers to change classical values that are used in classically-controlled gates to check the behavior of the program. Considerations: Often, classical values represent the quantum state in some way (think of quantum teleportation as one use case). Simply changing the values may break many algorithms, so it's not necessarily always usful.
- Setting qubit values: Updating qubits could be helpful for debugging. Users may either want to update individual qubits or sets of multiple qubits. Considerations: If updated qubits were entangled with other qubits, this could cause issues. One should first consider how to best solve this situation.
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 mapping the MQT Debugger's execution and variable-inspection entry points, then identify the DAP integration points mentioned in the issue. Clarify how classical values, individual qubits, multiple qubits, and entangled qubits should be handled before implementation. Done means the behavior is defined and supported consistently in both the debugger and DAP.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- devtools, quantum-computing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100