ApplyGateToLthQubit has a lambda function class attribute

Aperta
#1,606 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

@SripriyaDevarapalli ci sta già lavorando.

Dal 9/10/2026.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python

Direzione di ricerca

Start by reading the ApplyGateToLthQubit class and how bloq class attributes are serialized. Trace where its callable attribute is used and check related tests for serialization behavior. Done means the class no longer relies on a Python function as an attribute while preserving its behavior and serialization.

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

Descrizione

no QC knowledge needed

The premise of making a bloq class is that the class attributes are theoretically serializable and all the behavior is in the class's methods. ApplyGateToLthQubit accepts a Python function (callable) as one of its attributes, which shouldn't be allowed.

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

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.