class_docstr: Object to represent a match and its qubits configurations.
class_docstr_tok: ["Object","to","represent","a","match","and","its","qubits","configurations","."]
docstr: Create a Match class with necessary arguments.
  Args:
      match (list): list of matched gates.
      qubit (list): list of qubits configuration.
code: def __init__(self, match, qubit):
      """Create a Match class with necessary arguments.
      Args:
          match (list): list of matched gates.
          qubit (list): list of qubits configuration.
      """
      # Match list
      self.match = match
      # Qubits list for circuit
      if any(isinstance(el, list) for el in qubit):
          self.qubit = qubit
      else:
          self.qubit = [qubit]
  
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 1 to create a new Match object  with example: obj = Match(match, qubit)