Functions:
linear_pauli_rotations
linear_pauli_rotations(
bases: CArray[Pauli],
slopes: CArray[CReal],
offsets: CArray[CReal],
x: QArray[QBit],
q: QArray[QBit]
) -> None
[Qmod Classiq-library function]
Performs a rotation on a series of m target qubits,
where the rotation angle is a linear function of an n-qubit
control register.
Corresponds to the braket notation:
∣x⟩n∣q⟩m→∣x⟩nk=1∏m(cos(2akx+2bk)−isin(2akx+2bk)Pk)∣qk⟩
where ∣x⟩ is the control register,
∣q⟩ is the target register, each P{k} is one of
the three Pauli matrices X, Y, or Z, and a{k}, b{k} are
the user given slopes and offsets, respectively.
Parameters: