pytc.legacy.jastrow.test.test_jastrow.SimpleTestJastrow

class pytc.legacy.jastrow.test.test_jastrow.SimpleTestJastrow(params, mol=None)[source]

Bases: Jastrow

Simple Jastrow factor for testing: f(r) = exp(-alpha*r).

Methods

__call__

Evaluate Jastrow factor at given positions.

__delattr__

Implement delattr(self, name).

__dir__

Default dir() implementation.

__eq__

Return self==value.

__format__

Default object formatter.

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__getstate__

Helper for pickle.

__gt__

Return self>value.

__hash__

Return hash(self).

__init__

Initialize the Jastrow factor with parameters.

__init_subclass__

This method is called when a class is subclassed.

__le__

Return self<=value.

__lt__

Return self<value.

__ne__

Return self!=value.

__new__

__reduce__

Helper for pickle.

__reduce_ex__

Helper for pickle.

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__sizeof__

Size of object in memory, in bytes.

__str__

Return str(self).

__subclasshook__

Abstract classes can override this to customize issubclass().

_get_batch_size

Determine batch size based on available threads.

_process_grad_batch

Implement the abstract batch hook used by the legacy base class.

grad

Compute gradient with respect to coordinates.

Attributes

__abstractmethods__

__annotations__

__dict__

__doc__

__module__

__slots__

__weakref__

list of weak references to the object

_abc_impl

grad(r1, r2=None, atomic_positions=None)[source]

Compute gradient with respect to coordinates.