Exp operation
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.Intrinsic
Package: Microsoft.Quantum.Type2.Core
Applies the exponential of a multi-qubit Pauli operator.
operation Exp (paulis : Pauli[], theta : Double, qubits : Qubit[]) : Unit is Adj + Ctl
Description
\begin{align}
e^{i \theta [P_0 \otimes P_1 \cdots P_{N-1}]},
\end{align}
where $P_i$ is the $i$th element of paulis
, and where
$N = $Length(paulis)
.
Input
paulis : Pauli[]
Array of single-qubit Pauli values indicating the tensor product factors on each qubit.
theta : Double
Angle about the given multi-qubit Pauli operator by which the target register is to be rotated.
qubits : Qubit[]
Register to apply the given rotation to.
Output : Unit
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