code: def time_independent_hamiltonian():
      """Create a time-independent Hamiltonian on two qubits."""
      ops = [qml.PauliX(0), qml.PauliZ(1), qml.PauliY(0), qml.PauliX(1)]
  
      coeffs = [qml.pulse.constant, qml.pulse.constant, 0.4, 0.9]
  
      return qml.pulse.ParametrizedHamiltonian(coeffs, ops)
  
imports: from functools import reduce
  import pytest
  import numpy
  from scipy.stats import unitary_group
  import pennylane
  from pennylane.operation import _UNSET_BATCH_SIZE, Operation
  from pennylane.devices.qubit.apply_operation import apply_operation, apply_operation_einsum, apply_operation_tensordot
label_desc: Use image node_id 2 for calling a global function with example usage: time_independent_hamiltonian() and returns: qml