code: def test_jordan_wigner_fermi_word_ps(fermionic_op, result):
      """Test that the jordan_wigner function returns the correct qubit operator."""
      # convert FermiWord to PauliSentence and simplify
      qubit_op = jordan_wigner(fermionic_op, ps=True)
      qubit_op.simplify()
  
      # get expected op as PauliSentence and simplify
      expected_op = pauli_sentence(
          qml.Hamiltonian(result[0], result[1])
      )
      expected_op.simplify()
  
      assert qubit_op == expected_op
  
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 1 for calling a global function with example usage: test_jordan_wigner_fermi_word_ps(fermionic_op, result) without return types