Use `gf_instance.vector()` and `GF.Vector()` in `QGF.to_bits` and `QGF.from_bits` for binary extension fields.

Aperta
#1,676 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Start by locating QGF.to_bits and QGF.from_bits, then read how GF2 arithmetic bloqs represent binary extension field elements and how GF.Vector() and gf_instance.vector() expose polynomial coefficients. Update the conversions to use those coefficient representations, and confirm that both methods produce the expected bits for binary extension fields.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

The conversion of a QGF type to individual bits currently converts the integer representation of the field element into bits. For binary extension fields, a more natural choice is to look at the coefficients of the polynomial representation of underlying QGF types.

@NoureldinYosri Did you encounter this when implementing arithmetic bloqs for GF2?

Lingua principale
Python
Stelle
397
Fork
127
Merge medio
2g 19h
PR unite (30g)
4

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di quantumlib/Qualtran

Tutte le issue di quantumlib/Qualtran

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.