Repository navigation
Declaring a State
Wick's theorem needs a Gaussian state: a state fixed by its two-point contractions, WickVEV, MeanField and WickTeX take it as their last argument. Every block on this page runs after
Needs["FermiWick`"]GaussianState[] has every contraction, one amplitude each: the hopping
$\chi^{\sigma\sigma'}{ij}=\langle c^\dagger{i\sigma}c_{j\sigma'}\rangle$ and the pairing
$\Delta^{\sigma\sigma'}{ij}=\langle c{i\sigma}c_{j\sigma'}\rangle$. ContractionTable shows them between the modes of some
sites, here 1↑, 1↓, 2↑, 2↓; first
general = GaussianState[];
ContractionTable[general, {1, 2}, "Normal"]Nothing is fixed: on one site the diagonal entries are the densities, $\langle n_{1\uparrow}\rangle=\chi^{\uparrow\uparrow}{11}$ and $\langle n{1\downarrow}\rangle=\chi^{\downarrow\downarrow}{11}$, and the other one, $\langle c^\dagger{1\uparrow}c_{1\downarrow}\rangle=\langle S^+1\rangle$, a transverse magnetization. Hermiticity, $\langle c^\dagger_bc_a\rangle=\langle c^\dagger_ac_b\rangle^{\ast}$, always holds: an amplitude is written with its modes in canonical order, the other order as its conjugate. Then $\langle c_ac_b\rangle$, antisymmetric, so that on one site only $\langle c{1\uparrow}c_{1\downarrow}\rangle$ is left:
ContractionTable[general, {1, 2}, "Anomalous"]A symmetry you assume removes contractions, or the indices that told them apart.
Charge conserved ("Charge"): no pairing, the anomalous table vanishes:
ContractionTable[GaussianState["Charge"], {1, 2}, "Anomalous"]"SpinRotationZ", rotations about
sz = GaussianState["SpinRotationZ"];
ContractionTable[sz, {1, 2}, "Normal"]ContractionTable[sz, {1, 2}, "Anomalous"]On one site
WickVEV[SdotS[1, 2], GaussianState[{"SpinRotationZ", "Charge"}]]Spin rotations ("SpinRotation", SU(2)): the hopping is the same for both spins,
su2 = GaussianState["SpinRotation"];
ContractionTable[su2, {1, 2}, "Normal"]ContractionTable[su2, {1, 2}, "Anomalous"]This is the state of most calculations, so it has a short name: SpinSingletState[] is
GaussianState[{"SpinRotation", "Charge"}, "Filling" -> 1/2], and SpinSingletState["Pairing" -> Δ] is
GaussianState["SpinRotation", "Filling" -> 1/2, "OnSitePairing" -> 0] (the on-site values fixed, as below). In it,
hopping and pairing enter the exchange with the same weight:
WickVEV[SdotS[1, 2], SpinSingletState["Pairing" -> Δ]]Time reversal ("TimeReversal"): the components of opposite spins become conjugates of each other, and with SU(2)
the amplitudes are real. The scalar chirality, odd under time reversal, then vanishes:
ContractionTable[GaussianState[{"SpinRotation", "TimeReversal"}], {1, 2}, "Normal"]WickVEV[SdotScrossS[1, 2, 3], GaussianState[{"SpinRotation", "Charge", "TimeReversal"}]]The contractions on one site are the densities, the magnetization and the on-site pairing, and the options fix them:
"Filling" -> ν sets "Magnetization" -> m makes them {mx, my, mz}, and a function of the site, m[#] &, for a pattern); "OnSitePairing" -> η sets
magnetic = GaussianState[{"SpinRotationZ", "Charge"}, "Filling" -> 1/2, "Magnetization" -> m];
ContractionTable[magnetic, {1}, "Normal"]WickVEV[SzOp[1] ** SzOp[2], magnetic]GaussianState[{rule, ...}] gives the contractions by rules on the ladder operators, with any spin structure and any
dependence on the sites. Here a hopping g that keeps the spin and a hopping h that flips it:
flip = GaussianState[{{cDag[i_, s_], c[j_, r_]} :> If[i === j, KroneckerDelta[s, r]/2, If[s === r, g, h]]}];
WickVEV[SzOp[1] ** SzOp[2], flip]and a magnetization that alternates from site to site, on numbered sites:
neel = GaussianState[{{cDag[i_, s_], c[j_, r_]} /; i === j :> KroneckerDelta[s, r] (1/2 + (-1)^i If[s === SpinUp, m, -m])}];
WickVEV[SzOp[1] ** SzOp[2], neel]A contraction that no rule gives is zero.
StateSelect[state, crit] keeps only the contractions for which crit[op1, op2] is true: LocalPairQ keeps those on one
site, ! AnomalousPairQ[##] & drops the pairing:
WickVEV[SdotS[1, 2], StateSelect[SpinSingletState["Pairing" -> Δ], ! AnomalousPairQ[##] &]]It is a filter, not a symmetry: the result need not be a physical state. WickVEV[expr, state, "MaxOrder" -> m] keeps
the terms with at most m contractions between different sites; the chirality needs three:
WickVEV[SdotScrossS[1, 2, 3], GaussianState[{"SpinRotation", "Charge"}], "MaxOrder" -> 2]Contraction[state, op1, op2] gives a single contraction:
Contraction[GaussianState["SpinRotation"], c[1, SpinUp], c[2, SpinDown]]$State is the state used when none is given (SpinSingletState[] unless you set it): WickVEV[expr] is
WickVEV[expr, $State].