code: def test_jordan_wigner_fermi_word_operation(fermionic_op, result):
      wires = fermionic_op.wires or [0]
  
      qubit_op = jordan_wigner(fermionic_op)
  
      expected_op = pauli_sentence(
          qml.Hamiltonian(result[0], result[1])
      )
      expected_op = expected_op.operation(wires)
  
      assert qml.equal(qubit_op.simplify(), expected_op.simplify())
  
imports: import pytest
  import pennylane
  from pennylane.ops import SProd, Identity
  from pennylane.pauli.conversion import pauli_sentence
  from pennylane.fermi.conversion import jordan_wigner
  from pennylane.pauli import PauliWord, PauliSentence
  from pennylane.fermi.fermionic import FermiWord, FermiSentence
label_desc: Use image node_id 2 for calling a global function with example usage: test_jordan_wigner_fermi_word_operation(fermionic_op, result) without return types