Implement the wedge product between left_tensor and right_tensor
View aliases
Main aliases
openfermion.linalg.wedge(
left_tensor, right_tensor, left_index_ranks, right_index_ranks
)
The wedge product is defined as
ai1,i2,...,ipj1,j2,...,jp∧bip+1,ip+2,...,iNjp+1,jp+2,...,jN=(1N!)2=∑π,σϵ(π)ϵ(σ)πσai1,i2,...,ipj1,j2,...,jpbip+1,ip+2,...,iNjp+1,jp+2,...,jN
The top indices are those that transform contravariently. The bottom indices transform covariently.
The tensor storage convention for marginals follows the OpenFermion
convention. tpdm[i, j, k, l] = ,
rtensor[u1, u2, u3, d1] =
Returns | |
---|---|
new tensor constructed as the wedge product of the left_tensor and right_tensor |