class_docstr: Class to test the private function _make_probs.
class_docstr_tok: ["Class","to","test","the","private","function","_make_probs","."]
docstr: Testing the correctness of _make_probs.
docstr_tok: ["Testing","the","correctness","of","_make_probs","."]
code: def test_make_probs_makes_probs(self):
      """Testing the correctness of _make_probs."""
      dev = qml.device("default.qubit", wires=3)
  
      @qml.qnode(dev)
      def qnode(x):
          qml.RX(x, 0)
          qml.CNOT(wires=[0, 1])
          return qml.expval(qml.PauliX(0))
  
      x = pnp.array(0.5)
      new_qnode = _make_probs(qnode)
      res = new_qnode(x)
  
      assert isinstance(res, np.ndarray)
      assert res.shape == (4,)
      assert np.isclose(sum(res), 1)
  
imports: import pytest
  import numpy
  import pennylane
  import pennylane.numpy
  from pennylane.qinfo import classical_fisher, quantum_fisher
  from pennylane.qinfo.transforms import _make_probs, _compute_cfim
label_desc: Use image node_id 1 for calling the TestMakeProbs obj's underlying member method code with example usage: obj.test_make_probs_makes_probs() and returns: qml