class_docstr: Unit tests for the counts.process_samples method
docstr: Test that the counts output is correct when all_outcomes is passed
  for a list of mid-circuit measurement values.
docstr_tok: ["Test","that","the","counts","output","is","correct","when","all_outcomes","is","passed","for","a","list","of","mid-circuit","measurement","values","."]
code: def test_counts_all_outcomes_measurement_value_list(self):
      """Test that the counts output is correct when all_outcomes is passed
      for a list of mid-circuit measurement values."""
      shots = 1000
      samples = np.zeros((shots, 2)).astype(np.int64)
      m0 = qml.measure(0)
      m1 = qml.measure(1)
  
      result1 = qml.counts(
          [m0, m1], all_outcomes=False
      ).process_samples(samples, wire_order=[0, 1])
  
      assert len(result1) == 1
      assert set(result1.keys()) == {"00"}
      assert result1["00"] == shots
  
      result2 = qml.counts([m0, m1], all_outcomes=True).process_samples(
          samples, wire_order=[0, 1]
      )
  
      assert len(result2) == 4
      assert set(result2.keys()) == {"00", "01", "10", "11"}
      assert result2["00"] == shots
      assert result2["01"] == 0
      assert result2["10"] == 0
      assert result2["11"] == 0
  
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 14 for calling the TestProcessSamples obj's underlying member method code with example usage: obj.test_counts_all_outcomes_measurement_value_list() without return types