code: def test_not_available_transformation():
      r"""Test that an error is raised if the chosen fermionic-to-qubit transformation
      is neither 'jordan_wigner' nor 'bravyi_kitaev'."""
  
      with pytest.raises(
          TypeError, match="transformation is not available"
      ):
          qchem.decompose(
              os.path.join(ref_dir, "lih"),
              mapping="not_available_transformation",
              core=[0],
              active=[1, 2],
          )
  
imports: import os
  import numpy
  import pytest
  from pennylane import qchem
label_desc: Use image node_id 2 for calling a global function with example usage: test_not_available_transformation() without return types