The spookiness of Controlled Gates

In Quantum Computing, by far the most popular example of controlled gate is the control-not gate. Most, if not all, the textbooks start with an example of control-not and afterwards, expands to the more generalized concept of controlled gates. It is indeed an effective way to gently introduce the topic, making a smooth connection between the existing classical gate - XOR - and the quantum control-not gate - CNOT. But simplicity is not always synonym of completeness. Controlled gates are a little spookier than initially presented by the textbooks. You will see here that there is more to the controlled gates than shown in the first chapters of quantum computing textbooks. Firstly, a quick recap on the control-not gate. The control-not gate is a quantum gate with 2 input qubits: the first qubit is the 'control' qubit and the second one the 'target'. The control qubit controls the NOT operation to be applied in the target qubit - if the control qubit is in state |1>,...