class_docstr: The standard anticommutator, in an unevaluated state.
  
  Explanation
  ===========
  
  Evaluating an anticommutator is defined [1]_ as: ``{A, B} = A*B + B*A``.
  This class returns the anticommutator in an unevaluated form.  To evaluate
  the anticommutator, use the ``.doit()`` method.
  
  Canonical ordering of an anticommutator is ``{A, B}`` for ``A < B``. The
  arguments of the anticommutator are put into canonical order using
  ``__cmp__``. If ``B < A``, then ``{A, B}`` is returned as ``{B, A}``.
  
  Parameters
  ==========
  
  A : Expr
      The first argument of the anticommutator {A,B}.
  B : Expr
      The second argument of the anticommutator {A,B}.
  
  Examples
  ========
  
  >>> from sympy import symbols
  >>> from sympy.physics.quantum import AntiCommutator
  >>> from sympy.physics.quantum import Operator, Dagger
  >>> x, y = symbols('x,y')
  >>> A = Operator('A')
  >>> B = Operator('B')
  
  Create an anticommutator and use ``doit()`` to multiply them out.
  
  >>> ac = AntiCommutator(A,B); ac
  {A,B}
  >>> ac.doit()
  A*B + B*A
  
  The commutator orders it arguments in canonical order:
  
  >>> ac = AntiCommutator(B,A); ac
  {A,B}
  
  Commutative constants are factored out:
  
  >>> AntiCommutator(3*x*A,x*y*B)
  3*x**2*y*{A,B}
  
  Adjoint operations applied to the anticommutator are properly applied to
  the arguments:
  
  >>> Dagger(AntiCommutator(A,B))
  {Dagger(A),Dagger(B)}
  
  References
  ==========
  
  .. [1] https://en.wikipedia.org/wiki/Commutator
class_docstr_tok: ["The","standard","anticommutator",",","in","an","unevaluated","state",".","Explanation","===========","Evaluating","an","anticommutator","is","defined","[","1","]","_","as",":","``","{","A",",","B","}","=","A","*","B","+","B","*","A","``",".","This","class","returns","the","anticommutator","in","an","unevaluated","form",".","To","evaluate","the","anticommutator",",","use","the","``",".doit","(",")","``","method",".","Canonical","ordering","of","an","anticommutator","is","``","{","A",",","B","}","``","for","``","A","<","B","``",".","The","arguments","of","the","anticommutator","are","put","into","canonical","order","using","``","__cmp__","``",".","If","``","B","<","A","``",",","then","``","{","A",",","B","}","``","is","returned","as","``","{","B",",","A","}","``",".","Parameters","==========","A",":","Expr","The","first","argument","of","the","anticommutator","{","A",",","B","}",".","B",":","Expr","The","second","argument","of","the","anticommutator","{","A",",","B","}",".","Examples","========",">",">",">","from","sympy","import","symbols",">",">",">","from","sympy.physics.quantum","import","AntiCommutator",">",">",">","from","sympy.physics.quantum","import","Operator",",","Dagger",">",">",">","x",",","y","=","symbols","(","'","x",",","y","'",")",">",">",">","A","=","Operator","(","'","A","'",")",">",">",">","B","=","Operator","(","'","B","'",")","Create","an","anticommutator","and","use","``","doit","(",")","``","to","multiply","them","out",".",">",">",">","ac","=","AntiCommutator","(","A",",","B",")",";","ac","{","A",",","B","}",">",">",">","ac.doit","(",")","A","*","B","+","B","*","A","The","commutator","orders","it","arguments","in","canonical","order",":",">",">",">","ac","=","AntiCommutator","(","B",",","A",")",";","ac","{","A",",","B","}","Commutative","constants","are","factored","out",":",">",">",">","AntiCommutator","(","3","*","x","*","A",",","x","*","y","*","B",")","3","*","x","*","*","2","*","y","*","{","A",",","B","}","Adjoint","operations","applied","to","the","anticommutator","are","properly","applied","to","the","arguments",":",">",">",">","Dagger","(","AntiCommutator","(","A",",","B",")",")","{","Dagger","(","A",")",",","Dagger","(","B",")","}","References","==========","..","[","1","]","https",":","\/\/en.wikipedia.org\/wiki\/Commutator"]
code: def _eval_adjoint(self):
      return AntiCommutator(Dagger(self.args[0]), Dagger(self.args[1]))
  
file_path: sympy/sympy/physics/quantum/anticommutator.py
imports: from sympy.core.expr import Expr
  from sympy.core.mul import Mul
  from sympy.core.numbers import Integer
  from sympy.core.singleton import S
  from sympy.printing.pretty.stringpict import prettyForm
  from sympy.physics.quantum.operator import Operator
  from sympy.physics.quantum.dagger import Dagger
label_desc: Use image node_id 4 for calling the AntiCommutator obj's underlying member method code with example usage: obj._eval_adjoint() and returns: AntiCommutator