Discarding unwanted ancillas
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1.5k
- Forks
- 358
- Avg merge
- 1d 58m
- Merged PRs (30d)
- 4
Description
It'd be useful if unwanted ancillas can be dropped from a wavefunction object once they're no longer needed; lots of algorithms need big ancillary registers and it could be hard/cumbersome to read the output in these cases. E.g:
a|0000001>+b|0000010> -> a|01>+b|10>.
It'd be useful even if you had to manually declare which qubits are ancillary and only allow dropping of the totally uncomputed (i.e. all 0) registers, I think.
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
No file, test, or entry point is named. Start by locating the wavefunction object and its existing qubit or register manipulation APIs, then review the three-comment thread for intended semantics. Done should be defined around safely dropping declared, uncomputed all-zero ancillas while preserving the remaining amplitudes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- quantum-computing
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100