Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Fully qualified name: Std.Canon.ApplyP
operation ApplyP(pauli : Pauli, target : Qubit) : Unit is Adj + Ctl
Summary
Given a single-qubit Pauli operator, applies the corresponding operation to a single qubit.
Input
pauli
The Pauli operator to be applied.
target
The qubit to which pauli is to be applied as an operation.
Example
The following are equivalent:
ApplyP(PauliX, q);
and
X(q);