docstr: Test the return type and shape of sampling multiple wires
  where a rectangular array is expected
docstr_tok: ["Test","the","return","type","and","shape","of","sampling","multiple","wires","where","a","rectangular","array","is","expected"]
code: def test_multi_wire_counts_regular_shape(self):
      """Test the return type and shape of sampling multiple wires
      where a rectangular array is expected"""
      n_sample = 10
  
      dev = qml.device("default.qubit", wires=3, shots=n_sample)
  
      @qml.qnode(dev)
      def circuit():
          return (
              qml.counts(qml.PauliZ(0)),
              qml.counts(qml.PauliZ(1)),
              qml.counts(qml.PauliZ(2)),
          )
  
      result = circuit()
  
      # If all the dimensions are equal the result will end up to be a proper rectangular array
      assert isinstance(result, tuple)
      assert len(result) == 3
      assert all(sum(r.values()) == n_sample for r in result)
      assert all(
          all(v.dtype == np.dtype("int") for v in r.values())
          for r in result
      )
  
imports: import copy
  import numpy
  import pytest
  import pennylane
  from pennylane.measurements import AllCounts, Counts, CountsMP
  from pennylane.wires import Wires
label_desc: Use image node_id 5 for calling the TestCountsIntegration obj's underlying member method code with example usage: obj.test_multi_wire_counts_regular_shape() and returns: qml,  qml,  qml