code: def _openfermion_pennylane_equivalent(
      openfermion_qubit_operator, pennylane_qubit_operator, wires=None
  ):
      r"""Check equivalence between OpenFermion :class:`~.QubitOperator` and Pennylane VQE
      ``Hamiltonian`` (Tensor product of Pauli matrices).
  
      Equality is based on OpenFermion :class:`~.QubitOperator`'s equality.
  
      Args:
          openfermion_qubit_operator (QubitOperator): OpenFermion qubit operator represented as
              a Pauli summation
          pennylane_qubit_operator (pennylane.Hamiltonian): PennyLane
              Hamiltonian object
          wires (Wires, list, tuple, dict): Custom wire mapping used to convert to qubit operator
              from an observable terms measurable in a PennyLane ansatz.
              For types Wires/list/tuple, each item in the iterable represents a wire label
              corresponding to the qubit number equal to its index.
              For type dict, only int-keyed dict (for qubit-to-wire conversion) is accepted.
              If None, will map sorted wires from all Pennylane terms to consecutive int.
  
      Returns:
          (bool): True if equivalent
      """
      coeffs, ops = pennylane_qubit_operator.terms()
      return openfermion_qubit_operator == _pennylane_to_openfermion(
          coeffs, ops, wires=wires
      )
  
imports: import warnings
  from itertools import product
  import numpy
  import pennylane
  from pennylane.operation import Tensor, active_new_opmath
  from pennylane.pauli import pauli_sentence
  from pennylane.wires import Wires
label_desc: Use image node_id 5 for calling a global function with example usage: _openfermion_pennylane_equivalent(openfermion_qubit_operator, pennylane_qubit_operator, wires) and returns: unknown