SingleQubitClifford 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.Synthesis
Package: Microsoft.Quantum.Standard
An element of the single-qubit Clifford group.
newtype SingleQubitClifford = (E : Int, S : Int, X : Int, Omega : Int);
Named Items
E : Int
The power to which $E$ should be raised to generate this element.
S : Int
The power to which $S$ should be raised to generate this element.
X : Int
The power to which $X$ should be raised to generate this element.
Omega : Int
The power to which $\omega$ should be raised to generate this element.
Description
Each element is represented as as $E^{i} S^{j} X^{k} \omega^{\ell}$, where $\omega^8 = 1$ and where $E = H S^3 \omega^3$.
Example
let identity = SingleQubitClifford((0, 0, 0, 0));
let xClifford = SingleQubitClifford((0, 0, 1, 0));
References
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