Function sequant::P_maps

Function Documentation

container::svector<container::map<Index, Index>> sequant::P_maps(const Tensor &P, bool keep_canonical = true, bool pair_wise = false)

Generates a vector of replacement maps for particle permutation operator.

Parameters:

P – a particle permutation operator (with > 2 particle indices)

Returns:

Vector of replacement maps