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

Arbitrary initial states

未關閉
#349 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Python
星號
74
分支
34
平均合併
2 天 18 小時
30 天內合併 PR
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 摘要。