class_docstr: Tests for the Pauli-word helper function.
class_docstr_tok: ["Tests","for","the","Pauli-word","helper","function","."]
docstr: Test that the correct Pauli words are returned.
docstr_tok: ["Test","that","the","correct","Pauli","words","are","returned","."]
code: def test_state_preparation_pauli_words(
      self, num_wires, expected_pauli_words
  ):
      """Test that the correct Pauli words are returned."""
      for idx, pauli_word in enumerate(
          _state_preparation_pauli_words(num_wires)
      ):
          assert expected_pauli_words[idx] == pauli_word
  
imports: import pytest
  import numpy
  import pennylane
  from pennylane import numpy
  from pennylane.templates.state_preparations.arbitrary_state_preparation import _state_preparation_pauli_words
label_desc: Use image node_id 1 for calling the TestHelpers obj's underlying member method code with example usage: obj.test_state_preparation_pauli_words(num_wires, expected_pauli_words) without return types