Open msoeken opened 9 months ago
Would stabilizing the state preparation code from the Unstable
library solve this issue? If so, we should discuss that.
CC @DmitryVasilevsky @tcNickolas
I'm all in favor of stabilizing our state preparation library! It is core functionality for a high-level language
Is your feature request related to a problem? Please describe. Operations for uniform and arbitrary state preparation.
Describe the solution you'd like
Single-qubit state preparation and uniform state preparation:
Arbitrary state preparation (requires UDT for garbage qubit initialization):
Here are examples on how to use arbitrary state preparation:
Or when also preparing additional data with each coefficient: