class_docstr: Tests for the probs function
class_docstr_tok: ["Tests","for","the","probs","function"]
docstr: Test that the correct marginal probability is returned, when the
  states_to_binary method is used for probability computations.
code: def test_marginal_prob_more_wires(self, init_state, tol):
      """Test that the correct marginal probability is returned, when the
      states_to_binary method is used for probability computations."""
      dev = qml.device("default.qubit", wires=4)
      state = init_state(4)
  
      @qml.qnode(dev)
      def circuit():
          qml.StatePrep(state, wires=list(range(4)))
          return qml.probs(wires=[1, 0, 3])
  
      res = circuit()
  
      expected = np.reshape(np.abs(state) ** 2, [2] * 4)
      expected = np.einsum("ijkl->jil", expected).flatten()
      assert np.allclose(res, expected, atol=tol, rtol=0)
  
imports: import numpy
  import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.measurements import MeasurementProcess, Probability, ProbabilityMP, Shots
  from pennylane.queuing import AnnotatedQueue
label_desc: Use image node_id 11 for calling the TestProbs obj's underlying member method code with example usage: obj.test_marginal_prob_more_wires(init_state, tol) and returns: qml