diff --git a/crates/accelerate/src/euler_one_qubit_decomposer.rs b/crates/accelerate/src/euler_one_qubit_decomposer.rs index 4dc7ea77287b..c32e8fc38065 100644 --- a/crates/accelerate/src/euler_one_qubit_decomposer.rs +++ b/crates/accelerate/src/euler_one_qubit_decomposer.rs @@ -994,7 +994,7 @@ pub fn optimize_1q_gates_decomposition( node.instruction .operation .matrix(&node.instruction.params) - .unwrap() + .expect("No matrix defined for operation") }) .fold( [