Implement Gidney's in-place ripple-carry adder with carry-out
I maintainer di solito rispondono entro 3 giorni
@aadityarshah ci sta già lavorando.
Dal 5/10/2026.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 57/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- python
- Ambito
- quantum-computing
Direzione di ricerca
Start by locating the existing Add, OutOfPlaceAdder, and ControlledAddOrSubtract implementations and their tests; the issue does not name file paths. Compare the in-place adder without carry-out to Fig. 1(b) of the linked paper to identify the expected carry-out behavior. Done means adding the in-place carry-out variant and tests that verify its behavior and Toffoli count.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
While working upon the issue #1462 and going through the paper Quantum schoolbook multiplication with fewer Toffoli gates, I found that the current codebase does not provide a Gidney ripple-carry adder with carry-out.
Currently, it provides Add, which performs in-place addition without carry-out using n-1 Toffoli gates, as described in Fig. 1 (a) of the paper. However, it does not implement the corresponding adder with carry-out as described in Fig. 1(b), which uses n Toffoli gates.
This also differs from the existing OutOfPlaceAdder, which preserves both input registers and computes the n+1-bit sum into a separate output register.
The carry-out version of the adder would be useful to implement the schoolbook multiplications with fewer Toffolis as described in the paper in Fig. 2 (b). This will be useful in the first correction step that fixes the intermediate result obtained after the n iterations of ControlledAddOrSubtract gates.
- Lingua principale
- Python
- Stelle
- 397
- Fork
- 127
- Merge medio
- 2g 19h
- PR unite (30g)
- 4
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di quantumlib/Qualtran
-
`show_bloq` not workingAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
quantumlib/Qualtran#2007 ·
I maintainer di solito rispondono entro 3 giorni
-
Addition call_graph inconsistent with decomposition for registers with unequal bitsizesForse di nuovo libera @rupasri118 l’ha presa 55 giorni fa e non c’è nessuna pull request aperta. Apertakind/bug-report
Difficoltà 2/5 1-3 ore Idoneità per principianti 69/100
quantumlib/Qualtran#1818 · 2 commenti ·
I maintainer di solito rispondono entro 3 giorni
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 75/100
quantumlib/Qualtran#2008 ·
I maintainer di solito rispondono entro 3 giorni
-
kickmix: `Circuit.reaction_depth()` materialises every op (≈ 135–170 B/op transient), limiting verifiable circuit sizeForse già presa @manwithacat l’ha presa 26 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
quantumlib/Qualtran#1993 ·
I maintainer di solito rispondono entro 3 giorni
-
Windows wheel (or source) for kickmix library needed for Kaggle quantum compilation challengeAperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
quantumlib/Qualtran#1991 ·
I maintainer di solito rispondono entro 3 giorni
Tutte le issue di quantumlib/Qualtran
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
OpenFreeEnergy/openfe#2371 ·
I maintainer di solito rispondono entro 2 giorni
-
HMDB's smiles file writes "None" for metabolites with an empty <smiles/> (file not currently used)Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
NCATSTranslator/Babel#1269 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 Mezza giornata Idoneità per principianti 80/100
I maintainer di solito rispondono entro 1 giorno
-
404 on sample dataApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
bcgov/nr-hydrometric-rating-curve#443 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100