amazon-braket / amazon-braket/amazon-braket-default-simulator-python
Arbitrary initial states
Aperta
- Lingua principale
- Python
- Stelle
- 74
- Fork
- 34
- Merge medio
- 2g 18h
- PR unite (30g)
- 3
Descrizione
**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.
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.