amazon-braket / amazon-braket/amazon-braket-default-simulator-python
Arbitrary initial states
未关闭
- 主要语言
- 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 还没有评估数据。