PauliAsSingleQubitClifford function
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
Returns a representation of a single-qubit Pauli operator as a single-qubit Clifford operator that acts by conjugation.
function PauliAsSingleQubitClifford (pauli : Pauli) : Microsoft.Quantum.Synthesis.SingleQubitClifford
Description
Given a Pauli operator $P$, this function returns a Clifford operator that represents the function $Q \mapsto PQP^{\dagger}$.
Input
pauli : Pauli
The Pauli operator to be represented as a Clifford operator.
Output : SingleQubitClifford
A single-qubit Clifford operator representing the action of pauli
by
conjugation.
Remarks
For a value pauli
of type Pauli
, ApplyP(pauli, _)
and
Apply1C(PauliAsSingleQubitClifford(pauli), _)
are the same operation.
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