class_docstr: Tests specific to the ControlledQubitUnitary operation
class_docstr_tok: ["Tests","specific","to","the","ControlledQubitUnitary","operation"]
docstr: Test that a ControlledQubitUnitary raised to a non-integer power raises an error.
docstr_tok: ["Test","that","a","ControlledQubitUnitary","raised","to","a","non-integer","power","raises","an","error","."]
code: def test_noninteger_pow_broadcasted(self):
      """Test that a ControlledQubitUnitary raised to a non-integer power raises an error."""
      U1 = np.tensordot(
          np.array([1j, -1.0, 1j]),
          np.array(
              [
                  [0.73708696 + 0.61324932j, 0.27034258 + 0.08685028j],
                  [-0.24979544 - 0.1350197j, 0.95278437 + 0.1075819j],
              ]
          ),
          axes=0,
      )
  
      op = qml.ControlledQubitUnitary(
          U1, control_wires=("b", "c"), wires="a"
      )
  
      with pytest.raises(qml.operation.PowUndefinedError):
          op.pow(0.12)
  
imports: import copy
  import numpy
  import pytest
  from scipy.linalg import fractional_matrix_power
  from scipy.sparse import csr_matrix
  from scipy.stats import unitary_group
  from gate_data import CY, CZ
  import pennylane
  from pennylane.wires import Wires
  from pennylane.operation import AnyWires
  from pennylane.ops.qubit.matrix_ops import QubitUnitary
label_desc: Use image node_id 17 for calling the TestControlledQubitUnitary obj's underlying member method code with example usage: obj.test_noninteger_pow_broadcasted() without return types