pub fn load_gate(gate: &str, angles: &[f64]) -> Tensor
Computes the gate matrix for the given gate and angles.