class_docstr: Test initialization of the ParametrizedHamiltonian class
docstr: Test that attributes H_parametrized_ops and H_parametrized_coeffs are as expected
docstr_tok: ["Test","that","attributes","H_parametrized_ops","and","H_parametrized_coeffs","are","as","expected"]
code: def test_H_parametrized_lists(self):
      """Test that attributes H_parametrized_ops and H_parametrized_coeffs are as expected"""
      assert test_example.coeffs_parametrized == [f1, f2]
      assert np.all(
          [
              qml.equal(op1, op2)
              for op1, op2 in zip(
                  test_example.ops_parametrized,
                  [qml.PauliZ(2), qml.Hadamard(3)],
              )
          ]
      )
  
imports: import pytest
  import pennylane
  from pennylane import numpy
  from pennylane.pulse import ParametrizedHamiltonian
  from pennylane.wires import Wires
label_desc: Use image node_id 5 for calling the TestInitialization obj's underlying member method code with example usage: obj.test_H_parametrized_lists() without return types