Documentation of MARTY
A Modern ARtificial Theoretical phYsicist
Public Member Functions | Data Fields
mty::PartnerShip Struct Reference

Structure containing data about fermion ordering. More...

#include <quantumField.h>

Public Member Functions

bool isHappyWith (PartnerShip const &other) const
 

Data Fields

int self { -1 }
 
int partner { -1 }
 
bool isLeft { false }
 

Detailed Description

Structure containing data about fermion ordering.

Each external fermion in a process owns such data. self is the integer corresponding to the fermion, partner the number representing its partner and isLeft a boolean telling if the fermion must be on the left of the chain or not. Take an example with fermions \( \psi _i \);

\[ \left(\bar{\psi}_2 \psi _3\right)\left(\bar{\psi}_4 \psi _1\right), \]

fermions \( \psi _i \) have respectively PartnerShips \( (2, 3, true) \), \( (3, 2, false) \), \( (4, 1, true) \) and \( (1, 4, false) \).


The documentation for this struct was generated from the following file: