fqe.wick.wick

Original and target are written in a similar notation to OpenFermion

operators.

For example,

.. code-block::

target = 'i^ l k j^'

When spinfree is set to True, we assume that the indices are ordered 123.../123...

The data has to be a tuple of 1-, 2-, and n-particle RDMs when target correspond to n-body strings

target (string) - specifies the operator list

data (List[numpy.ndarray]) - a list of particle RDMs

spinfree (bool) - whether the RDMs are spinfree

(numpy.ndarray) - RDM after performing Wick's theorem