LinearAncillaComposite doesn't allow user-specified ancilla patterns

Aperta
#613 0 commenti 2 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Start at the LinearAncillaComposite entry point and trace how its ancilla assignment is selected. Define the optional input's accepted pattern and verify that explicit assignments are honored while the default heuristic remains unchanged.

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

Descrizione

Current Problem
A prescription for which ancilla to use is not currently supported. A heuristic is used for the assignment.

Proposed Solution
Allow a specification as an optional non-default input parameter.

Alternatives Considered
As a workaround, people can embed for a working graph with the desired ancilla deleted. And then request the ancilla composite to work on the graph with them added back in (subject to desired coupling pattern). This is however very ugly and inefficient.

Additional context
Finding an optimal assignment of ancilla is application dependent, in standard formulations it is NP-hard when combined with the task of embedding the target Hamiltonian. Relying on a specific generic heuristic rather than allowing the user to apply expert knowledge is undesirable.

Lingua principale
Python
Stelle
100
Fork
70
Merge medio
9h 33m
PR unite (30g)
4

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

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 dwavesystems/dwave-system

Tutte le issue di dwavesystems/dwave-system

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.