class_docstr: Object to define a list of MatchingScenarios, with method to append
  and pop elements.
class_docstr_tok: ["Object","to","define","a","list","of","MatchingScenarios",",","with","method","to","append","and","pop","elements","."]
docstr: Pop the first scenario of the list.
  Returns:
      MatchingScenarios: a scenario of match.
code: def pop_scenario(self):
      """
      Pop the first scenario of the list.
      Returns:
          MatchingScenarios: a scenario of match.
      """
      # Pop the first MatchingScenario and returns it
      first = self.matching_scenarios_list[0]
      self.matching_scenarios_list.pop(0)
      return first
  
imports: import copy
  import itertools
  from collections import OrderedDict
  from typing import Sequence, Callable
  import numpy
  import pennylane
  from pennylane.transforms import transform
  from pennylane import adjoint
  from pennylane.ops.qubit.attributes import symmetric_over_all_wires
  from pennylane.tape import QuantumTape, QuantumScript
  from pennylane.transforms.commutation_dag import commutation_dag
  from pennylane.wires import Wires
label_desc: Use image node_id 3 for calling the MatchingScenariosList obj's underlying member method code with example usage: obj.pop_scenario() and returns: first