quantum::gates
pub fn controlled(u: &Matrix) -> Gate
A two qubit controlled gate.
See Wikipedia for more information.
We panic if this supplied matrix isn't of size 2x2.