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

Arbitrary initial states

Open
#349 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
74
Forks
34
Avg merge
2d 18h
Merged PRs (30d)
3

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.