= Controlled unitary gate
{title2=$C(U)$}
= Controlled-U gate
{synonym}
A <controlled unitary gate> applies a <unitary operator> $U$ to a target system when a control <qubit> is $|1\rangle$, and leaves the target unchanged when the control is $|0\rangle$:
$$
C(U)=|0\rangle\langle0|\otimes I+|1\rangle\langle1|\otimes U.
$$
For a coherent control, <linearity> gives
$$
C(U)\bigl[(a|0\rangle+b|1\rangle)\otimes|\psi\rangle\bigr]
=a|0\rangle\otimes|\psi\rangle+b|1\rangle\otimes U|\psi\rangle.
$$
The control has not been measured; the output may be <entangled>. The <controlled-unitary entangling criterion> states exactly when some product input becomes <entangled>.
The <global phase of a controlled quantum gate> matters: if $U=e^{i\theta}I$, then $C(U)$ acts as a <phase gate> on the control. A phase invisible on the isolated target is a <relative phase> between control branches. <Qiskit quantum gate documentation by IBM>[ControlledGate, conditional base operation and control labels; the coherent-state formula follows by linearity]{ref}
Back to article page