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

Arbitrary initial states

Đang mở
#349 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
74
Fork
34
Merge trung bình
2 ngày 18 giờ
Pull request đã merge (30 ngày)
3

Mô tả

**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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.