LinearAncillaComposite doesn't allow user-specified ancilla patterns

Abierto
#613 0 comentarios 2 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
100
Forks
70
Merge medio
9 h 33 min
PR fusionados (30 d)
4

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de dwavesystems/dwave-system

Todos los issues de dwavesystems/dwave-system

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.