Swap endianness of MPS simulator to match that of the state vector simulator

Aperta
#492 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
22/100
Tipo di issue
Refactoring
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Ambito
backend

Direzione di ricerca

The payload names no files or tests. Start by locating the MPS simulator and the state-vector simulator in the qsim repository, then compare how each maps gate qubit indices to bit positions. Decide which convention the state-vector simulator uses, since that is the target. Done means both simulators agree on qubit ordering and their existing tests still pass. Confirm the direction with maintainers first, because the issue is old, unassigned and has no discussion.

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

Descrizione

a: mps

Right now the MPS has different qubit index endianness when applying gates vs the built-in state vector simulator. Not super high priority, but we should probably swap this around for consistency sake.

Lingua principale
C++
Stelle
702
Fork
219
Merge medio
1g 2h
PR unite (30g)
8

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

Tutte le issue di quantumlib/qsim

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.