Commit 3ff172dc authored by Torsten Ensslin's avatar Torsten Ensslin
Browse files

rewriting

parent 24147f38
...@@ -29,12 +29,14 @@ from .simple_linear_operators import VdotOperator ...@@ -29,12 +29,14 @@ from .simple_linear_operators import VdotOperator
class EnergyOperator(Operator): class EnergyOperator(Operator):
""" Basis class EnergyOperator. """ Basis class EnergyOperator.
The NIFTy EnergyOperator class derives from the Operator class. Operator which has a scalar domain as target domain.
An EnergyOperator returns a scalar for a field, and a linearized
An EnergyOperators transforms a field into a scalar, the information energy Typical usage in IFT:
of the field. Typically, an EnergyOperators is an information Hamiltonian as an information Hamiltonian ( = negative log probability)
( = negative log probability) or a Gibbs free energy ( = averaged or as a Gibbs free energy ( = averaged Hamiltonian), aka Kullbach-Leibler
Hamiltonian), aka Kullbach-Leibler divergence. divergence.
An EnergyOperator can also provide its gradient as an EndomorphicOperator An EnergyOperator can also provide its gradient as an EndomorphicOperator
that converts a field into a field, the gradient of the Hamiltonian at the that converts a field into a field, the gradient of the Hamiltonian at the
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment