3
0
mirror of https://github.com/triqs/dft_tools synced 2024-11-01 03:33:50 +01:00
dft_tools/doc/reference/python/operators/operators.rst
Michel Ferrero 2921cbcc06 Cythonize random generators
A trivial cythonized version of the c++ random_generator class.
Useful to get the names of the generators from the python.

  new file:   pytriqs/random/*
  new file:   doc/reference/python/random/*
2013-09-16 12:20:06 +02:00

28 lines
619 B
ReStructuredText

.. module:: pytriqs.random
.. _operators:
The Operator class
===================
The TRIQS solvers need to know several operators in order to solve the impurity
problem. For example, they must know what the local Hamiltonian is, but also its
quantum numbers (that can be used to improve the speed), possibly some
operators to be averaged, aso.
In order to deal with these objects, TRIQS provides a class that allows to
manipulate operators.
A simple example
-----------------
.. literalinclude:: manipulate.py
Complete reference
------------------------
.. autoclass:: pytriqs.operators.Operator
:members: