DeterministicStateOracle user defined type
Warning
This documentation refers to the Classic QDK, which has been replaced by the Modern QDK.
Please see https://aka.ms/qdk.api for the API documentation for the Modern QDK.
Namespace: Microsoft.Quantum.Oracles
Package: Microsoft.Quantum.Standard
Represents an oracle for deterministic state preparation.
newtype DeterministicStateOracle = ((Qubit[] => Unit is Adj + Ctl));
Description
The input to the oracle $O$ is:
- The register that will store the desired quantum state $\ket{\psi}_s$.
Remarks
This oracle defined by $O\ket{0}=\ket{\psi}$ acts on the on computational basis state $\ket{0}$ to create the state $\ket{\psi}$. The first parameter is the qubit register of $\ket{\psi}$.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for