Update simulator interfaces for Cirq 2.0

Aperta
#8,341 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@rosspeili ci sta già lavorando.

Dal 15/9/2026.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
api, backend

Direzione di ricerca

Start by reading the simulator interfaces and classical data store implementations, then trace how parameter resolution and While/If operations are handled during simulation. The issue names no files or tests, so first locate those entry points and relevant tests; done means the simulator supports dynamic classical registers and evaluates dynamic loop parameters while retaining static sweep resolution.

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

Descrizione

area/cirq-2.0 kind/feature-request skill/experienced triage/accepted

Is your feature request related to a use case or problem? Please explain

Updates to the simulator interface. Cirq’s APIs for circuit simulation will need to be extended to handle the new constructs in 2.0.

Describe the solution you would prefer

We currently envision the addition of a new DynamicClassicalDataStore (inheriting from ClassicalDataStore) to hold active measurements and dynamic classical registers (like float angles and loop counters). While static sweep variables are resolved beforehand using Cirq’s static ParamResolver, dynamic symbols will be ignored by the simulator's first resolution pass and left within their operations. During simulation, dynamic loop containers (While/If) will need to evaluate their parameters dynamically from classical registers.

How urgent is this for you? Is it blocking important work?

P2 – we should do it in the next couple of quarters

Lingua principale
Python
Stelle
5.1k
Fork
1.3k
Merge medio
1g 18h
PR unite (30g)
41

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/Cirq

Tutte le issue di quantumlib/Cirq

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.