class_docstr: Test initialization of the ParametrizedHamiltonian class
docstr: Test that attributes H_fixed_ops and H_fixed_coeffs are as expected
docstr_tok: ["Test","that","attributes","H_fixed_ops","and","H_fixed_coeffs","are","as","expected"]
code: def test_H_fixed_lists(self):
      """Test that attributes H_fixed_ops and H_fixed_coeffs are as expected"""
      assert test_example.coeffs_fixed == [1, 2]
      assert np.all(
          [
              qml.equal(op1, op2)
              for op1, op2 in zip(
                  test_example.ops_fixed, [qml.PauliX(0), qml.PauliY(1)]
              )
          ]
      )
  
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 4 for calling the TestInitialization obj's underlying member method code with example usage: obj.test_H_fixed_lists() without return types