amazon-braket / amazon-braket/amazon-braket-default-simulator-python

Arbitrary initial states

オープン
#349 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
74
フォーク
34
平均マージ
2日 18時間
マージ済み PR(30日)
3

説明

**Describe the feature you'd like**

State-loading gate / function - i.e., allowing for arbitrary initializations onto a statevector.

**How would this feature be used? Please describe.**

Circuit().load_to(state)

**Describe alternatives you've considered**

The householder unitary U = I - 2 vv+ achieves this, but requires creating and applying a matrix, both of which are unnecessary and problematic for large n. The QASM implementation seems non-trivial, but I feel there should be a better way.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

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

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