ExcitationPreserving.mcrz¶
- ExcitationPreserving.mcrz(lam, q_controls, q_target, use_basis_gates=False)¶
Apply Multiple-Controlled Z rotation gate
- Parameters
self (QuantumCircuit) – The QuantumCircuit object to apply the mcrz gate on.
lam (float) – angle lambda
q_controls (list(Qubit)) – The list of control qubits
q_target (Qubit) – The target qubit
use_basis_gates (bool) – use u1, u2, u3, cx, id
- Raises
QiskitError – parameter errors