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 摘要。