for
So we only apply the X-gate to the second qubit,
if the first qubit is , otherwise everything is unchanged.