Barrier operator so that cudaq.draw circuit images can be better visualized
Open
Nobody has claimed this yet.
enhancement
stale-notified
- Dominant language
- C++
- Stars
- 1.1k
- Forks
- 456
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 165
Description
Required prerequisites
- Search the issue tracker to check if your feature has already been mentioned or rejected in other issues.
Describe the feature
Add a command that will allow placing a vertical barrier bar through a circuit diagram to separate out different parts of the circuit visually. For example, when creating a circuit for QPE for unitary U, it would be nice to be able to visually separate out the inverse QFT from the controlled-U gates.
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 with the cudaq.draw entry point and trace how circuit operations become diagram elements. Determine the barrier operator's expected placement and verify that QPE-style circuit diagrams visibly separate the inverse QFT from the controlled-U gates.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, python
- Domain
- quantum-computing
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100