code: def test_create_f():
      i, j, n, m = symbols("i,j,n,m")
      o = Fd(i)
      assert isinstance(o, CreateFermion)
      o = o.subs(i, j)
      assert o.atoms(Symbol) == {j}
      o = Fd(1)
      assert o.apply_operator(FKet([n])) == FKet([1, n])
      assert o.apply_operator(FKet([n])) == -FKet([n, 1])
      o = Fd(n)
      assert o.apply_operator(FKet([])) == FKet([n])
  
      vacuum = FKet([], fermi_level=4)
      assert vacuum == FKet([], fermi_level=4)
  
      i, j, k, l = symbols("i,j,k,l", below_fermi=True)
      a, b, c, d = symbols("a,b,c,d", above_fermi=True)
      p, q, r, s = symbols("p,q,r,s")
  
      assert Fd(i).apply_operator(FKet([i, j, k], 4)) == FKet([j, k], 4)
      assert Fd(a).apply_operator(FKet([i, b, k], 4)) == FKet(
          [a, i, b, k], 4
      )
  
      assert Dagger(B(p)).apply_operator(q) == q * CreateBoson(p)
      assert repr(Fd(p)) == "CreateFermion(p)"
      assert srepr(Fd(p)) == "CreateFermion(Symbol('p'))"
      assert latex(Fd(p)) == r"{a^\dagger_{p}}"
  
imports: from sympy.physics.secondquant import Dagger, Bd, VarBosonicBasis, BBra, B, BKet, FixedBosonicBasis, matrix_rep, apply_operators, InnerProduct, Commutator, KroneckerDelta, AnnihilateBoson, CreateBoson, BosonicOperator, F, Fd, FKet, BosonState, CreateFermion, AnnihilateFermion, evaluate_deltas, AntiSymmetricTensor, contraction, NO, wicks, PermutationOperator, simplify_index_permutations, _sort_anticommuting_fermions, _get_ordered_dummies, substitute_dummies, FockStateBosonKet, ContractionAppliesOnlyToFermions
  from sympy.concrete.summations import Sum
  from sympy.core.function import Function, expand
  from sympy.core.numbers import I, Rational
  from sympy.core.singleton import S
  from sympy.core.symbol import Dummy, Symbol, symbols
  from sympy.functions.elementary.miscellaneous import sqrt
  from sympy.printing.repr import srepr
  from sympy.simplify.simplify import simplify
  from sympy.testing.pytest import slow, raises
  from sympy.printing.latex import latex
label_desc: Use image node_id 17 for calling a global function with example usage: test_create_f() without return types