class_docstr: Tests for the func_to_unitary function
docstr: Test if a ValueError is raised if a function that evaluates outside of the [0, 1]
  interval is provided
docstr_tok: ["Test","if","a","ValueError","is","raised","if","a","function","that","evaluates","outside","of","the","[","0",",","1","]","interval","is","provided"]
code: def test_not_bounded_func(self):
      """Test if a ValueError is raised if a function that evaluates outside of the [0, 1]
      interval is provided"""
  
      with pytest.raises(
          ValueError, match="func must be bounded within the interval"
      ):
          func_to_unitary(np.sin, 8)
  
imports: import numpy
  import pytest
  from scipy.stats import norm
  import pennylane
  from pennylane.templates.subroutines.qmc import QuantumMonteCarlo, _make_V, _make_Z, func_to_unitary, make_Q, probs_to_unitary
  from pennylane.wires import Wires
label_desc: Use image node_id 1 for calling the TestFuncToUnitary obj's underlying member method code with example usage: obj.test_not_bounded_func() without return types