LinearAncillaComposite doesn't allow user-specified ancilla patterns

オープン
#613 コメント 0 件 リアクション 2 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Python
スター
100
フォーク
70
平均マージ
9時間 33分
マージ済み PR(30日)
4

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

dwavesystems/dwave-system のほかの issue

dwavesystems/dwave-system の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。