Use Controllable and Daggerable in MultiCntrlFunction
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- python
- Domain
- quantum-computing
Research direction
Start with MultiCntrlFunction and its operation and cnx_kernel parameters, and read how the current self-inverse kernel is used for uncomputation. The issue says this waits on the CnX functions being refactored as modifiers (#90), so check that first. Done means the kernel is typed as Daggerable, uncomputation uses its dagger, and the gate-count and cancellation claims are verified.
Written by the indexing model from the issue text.
Description
Update MultiCntrlFunction so operation accepts a Controllable and cnx_kernel accepts a Daggerable. Use the kernel's dagger for uncomputation instead of requiring a self-inverse kernel.
This should be done once the the CnX Functions are refactored as modifers.
Document that Daggerable partial CNX implementations could be used in this construction to save half the gates, and verify the cancellation conditions and gate savings.
Follow-up to #90.
- Dominant language
- Python
- Stars
- 12
- Forks
- 1
- Avg merge
- 3d 1h
- Merged PRs (30d)
- 19
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from Quantinuum/guppyalgos
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
Quantinuum/guppyalgos#233 ·
Maintainers usually reply within 2 days
-
Add lint rules for importsPossibly taken @Walden-Killick claimed this 11 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Quantinuum/guppyalgos#224 ·
Maintainers usually reply within 2 days
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
Quantinuum/guppyalgos#239 · 1 comment ·
Maintainers usually reply within 2 days
-
Add unitary modifiers to `Ladder` protocol and implementorsPossibly taken @GBoydQ claimed this 4 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 20/100
Quantinuum/guppyalgos#237 ·
Maintainers usually reply within 2 days
-
Difficulty 3/5 Half a day Newbie friendliness 35/100
Quantinuum/guppyalgos#223 ·
Maintainers usually reply within 2 days
All issues in Quantinuum/guppyalgos
Similar issues
-
soup prune-prompt exits 1 after writing its output on a file over 100,000 rows, and reports a capped row count otherwisePossibly taken @abdulwaarith0 claimed this today. Openneeds-triage
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
MakazhanAlpamys/Soup#3690 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
bug data-types native-format
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
ClickHouse/clickhouse-connect#1320 ·
Maintainers usually reply within 1 day
-
accepted
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
future-agi/future-agi#6392 ·
Maintainers usually reply within 1 day