39 const LatticePropagator& quark1,
40 const LatticePropagator& quark2,
41 const multi1d<int>& src1,
42 const multi1d<int>& src2,
52 if (src1[
Nd-1] != src2[
Nd-1] ){
53 QDPIO::cerr<<
"Sources must be at the same time slice\n";
57 QDPIO::cout <<
"Sources at : " << src1[0] <<
" " << src1[1]
58 <<
" " << src1[2] <<
" " << src1[3] << std::endl
59 <<
" and : " << src2[0] <<
" " << src2[1]
60 <<
" " << src2[2] <<
" " << src2[3] << std::endl;
64 int num_mom = phases.
numMom();
67 SpinMatrix g_one = 1.0;
68 SpinMatrix
Cg5 = g_one * Gamma(5);
69 SpinMatrix Cg3 = - g_one * Gamma(14);
70 SpinMatrix Cgminus = g_one * Gamma(11) + timesI(g_one * Gamma(8));
71 SpinMatrix Cgplus = g_one * Gamma(11) + timesMinusI(g_one * Gamma(8));
72 SpinMatrix
G5 = g_one * Gamma(15);
73 SpinMatrix OnePlusSigma3 = g_one + timesMinusI(g_one*Gamma(3));
74 SpinMatrix OneMinusSigma3 = g_one + timesI(g_one*Gamma(3));
75 SpinMatrix Gup = g_one * Gamma(15) + timesMinusI((g_one*Gamma(3))*Gamma(15));
76 SpinMatrix Gdown = g_one * Gamma(15) + timesI((g_one*Gamma(3))*Gamma(15));
77 SpinMatrix PosEnergyProj = 0.5*((g_one + Gamma(8) * g_one));
78 SpinMatrix NegEnergyProj = 0.5*((g_one - Gamma(8) * g_one));
79 SpinMatrix OnePlusSigma3PEP = OnePlusSigma3 * PosEnergyProj;
80 SpinMatrix OneMinusSigma3PEP = OneMinusSigma3 * PosEnergyProj;
81 SpinMatrix G5PEP =
G5 * PosEnergyProj;
85 LatticeColorMatrix Qprop1;
86 LatticeColorMatrix Qprop2;
91 multi1d<DPropagator> U1,U2,U3,U4;
92 multi1d<DPropagator> D1,D2,D3,D4;
93 multi1d<DPropagator> antiU1,antiU2,antiU3,antiU4;
94 multi1d<DPropagator> antiD1,antiD2,antiD3,antiD4;
95 multi1d<ColorMatrix> Q1, Q2, antiQ1, antiQ2;
98 antiQ1.resize(length);
99 antiQ2.resize(length);
100 U1.resize(length); U2.resize(length); U3.resize(length);U4.resize(length);
101 D1.resize(length); D2.resize(length); D3.resize(length);D4.resize(length);
102 antiU1.resize(length); antiU2.resize(length); antiU3.resize(length);antiU4.resize(length);
103 antiD1.resize(length); antiD2.resize(length); antiD3.resize(length);antiD4.resize(length);
105 multi1d<int> currsrc1=src1;
106 multi1d<int> currsrc2=src2;
107 for (
int t=0;
t<length;
t++)
111 Q1[
t] = peekSite(Qprop1,currsrc1);
112 Q2[
t] = peekSite(Qprop2,currsrc2);
113 antiQ1[
t] = adj(Q1[
t]);
114 antiQ2[
t] = adj(Q2[
t]);
116 U1[
t] = peekSite(quark1,currsrc1);
117 U2[
t] = peekSite(quark2,currsrc2);
118 U3[
t] = peekSite(quark2,currsrc1);
119 U4[
t] = peekSite(quark1,currsrc2);
121 antiU1[
t]= Gamma(15) * adj(U1[
t]) * Gamma(15);
122 antiU2[
t]= Gamma(15) * adj(U2[
t]) * Gamma(15);
123 antiU3[
t]= Gamma(15) * adj(U3[
t]) * Gamma(15);
124 antiU4[
t]= Gamma(15) * adj(U4[
t]) * Gamma(15);
128 D1 = U1; D2 = U2; D3 = U3; D4 = U4;
129 antiD1 = antiU1; antiD2 = antiU2; antiD3 = antiU3; antiD4 = antiU4;
133 QDPIO::cout<<
"Making B^+ (bbar u) meson blocks\n";
150 QDPIO::cout<<
"Making B^0 (bbar d) meson blocks\n";
166 QDPIO::cout<<
"Making Bbar^0 (b dbar) meson blocks\n";
184 QDPIO::cout<<
" Contracting B meson \n";
185 multi1d<DComplex> bmes, bmesup, bmesdown, bmes0, bmes0up, bmes0down, bmesR, bmesRup, bmesRdown;
186 bmes.resize(length); bmesup.resize(length); bmesdown.resize(length);
187 bmes0.resize(length); bmes0up.resize(length); bmes0down.resize(length);
188 bmesR.resize(length); bmesRup.resize(length); bmesRdown.resize(length);
192 bmes0down =
bcontract(H_U1_Gdown_0,Gdown);
194 bmesRdown =
bcontract(H_U2_Gdown_R,Gdown);
195 for (
int t=0;
t<length;
t++){
196 bmes[
t] = 0.5 * (bmes0[
t] + bmesR[
t]);
197 bmesup[
t] = 0.5 * (bmes0up[
t] + bmesRup[
t]);
198 bmesdown[
t] = 0.5 * (bmes0down[
t] + bmesRdown[
t]);
202 QDPIO::cout<<
" Contracting Bu--Bu \n";
203 multi1d<DComplex> BuBuJ0m0,BuBuJ1m1,BuBuJ1m0,BuBuJ1mneg1;
205 BuBuJ0m0.resize(length);
206 BuBuJ0m0 =
m1contract(H_U1_Gup_0, H_U2_Gdown_R,
207 H_U3_Gup_0, H_U4_Gdown_R,
209 BuBuJ0m0 +=
m1contract(H_U1_Gdown_0, H_U2_Gup_R,
210 H_U3_Gdown_0, H_U4_Gup_R,
212 BuBuJ0m0 -=
m1contract(H_U1_Gup_0, H_U2_Gdown_R,
213 H_U3_Gup_0, H_U4_Gdown_R,
215 BuBuJ0m0 -=
m1contract(H_U1_Gdown_0, H_U2_Gup_R,
216 H_U3_Gdown_0, H_U4_Gup_R,
221 BuBuJ1m1.resize(length);
222 BuBuJ1m0.resize(length);
223 BuBuJ1mneg1.resize(length);
227 H_U3_Gup_0, H_U4_Gup_R,
231 BuBuJ1m0 =
m1contract(H_U1_Gup_0, H_U2_Gdown_R,
232 H_U3_Gup_0, H_U4_Gdown_R,
234 BuBuJ1m0 +=
m1contract(H_U1_Gdown_0, H_U2_Gup_R,
235 H_U3_Gdown_0, H_U4_Gup_R,
237 BuBuJ1m0 +=
m1contract(H_U1_Gup_0, H_U2_Gdown_R,
238 H_U3_Gup_0, H_U4_Gdown_R,
240 BuBuJ1m0 +=
m1contract(H_U1_Gdown_0, H_U2_Gup_R,
241 H_U3_Gdown_0, H_U4_Gup_R,
246 BuBuJ1mneg1 =
m1contract(H_U1_Gdown_0, H_U2_Gdown_R,
247 H_U3_Gdown_0, H_U4_Gdown_R,
256 QDPIO::cout<<
" Contracting Bu--Bd \n";
257 multi1d<DComplex> BuBdJ0m0,BuBdJ1m1,BuBdJ1m0,BuBdJ1mneg1;
258 BuBdJ0m0.resize(length);
259 BuBdJ0m0 =
m2contract(H_U1_Gup_0, H_D2_Gdown_R,
261 BuBdJ0m0 -=
m2contract(H_U1_Gdown_0, H_D2_Gup_R,
263 BuBdJ0m0 +=
m2contract(H_U1_Gdown_0, H_D2_Gup_R,
265 BuBdJ0m0 -=
m2contract(H_U1_Gup_0, H_D2_Gdown_R,
270 BuBdJ1m1.resize(length);
271 BuBdJ1m0.resize(length);
272 BuBdJ1mneg1.resize(length);
274 SpinMatrix G5Gup = Gamma(15)* Gup;
279 BuBdJ1m0 =
m2contract(H_U1_Gup_0, H_D2_Gdown_R,
281 BuBdJ1m0 +=
m2contract(H_U1_Gdown_0, H_D2_Gup_R,
283 BuBdJ1m0 +=
m2contract(H_U1_Gdown_0, H_D2_Gup_R,
285 BuBdJ1m0 +=
m2contract(H_U1_Gup_0, H_D2_Gdown_R,
290 BuBdJ1mneg1 =
m2contract(H_U1_Gdown_0, H_D2_Gdown_R,
299 QDPIO::cout<<
" Contracting Bu--Bdbar \n";
300 multi1d<DComplex> BuBdbarJ0m0,BuBdbarJ1m1,BuBdbarJ1m0,BuBdbarJ1mneg1;
301 BuBdbarJ0m0.resize(length);
302 BuBdbarJ0m0 =
m2contract(H_U1_Gup_0, Hbar_D2_Gdown_R,
304 BuBdbarJ0m0 -=
m2contract(H_U1_Gdown_0, Hbar_D2_Gup_R,
306 BuBdbarJ0m0 +=
m2contract(H_U1_Gdown_0, Hbar_D2_Gup_R,
308 BuBdbarJ0m0 -=
m2contract(H_U1_Gup_0, Hbar_D2_Gdown_R,
313 BuBdbarJ1m1.resize(length);
314 BuBdbarJ1m0.resize(length);
315 BuBdbarJ1mneg1.resize(length);
317 BuBdbarJ1m1 =
m2contract(H_U1_Gup_0, Hbar_D2_Gup_R,
321 BuBdbarJ1m0 =
m2contract(H_U1_Gup_0, Hbar_D2_Gdown_R,
323 BuBdbarJ1m0 +=
m2contract(H_U1_Gdown_0, Hbar_D2_Gup_R,
325 BuBdbarJ1m0 +=
m2contract(H_U1_Gdown_0, Hbar_D2_Gup_R,
327 BuBdbarJ1m0 +=
m2contract(H_U1_Gup_0, Hbar_D2_Gdown_R,
332 BuBdbarJ1mneg1 =
m2contract(H_U1_Gdown_0, Hbar_D2_Gdown_R,
339 multiNd<DComplex> HQBR, HQB0;
340 multiNd<DComplex> antiHQBR, antiHQB0;
341 multi1d<int> HQBarray;
343 HQBarray= Nc; HQBarray[0]=length;
344 HQBR.resize(HQBarray);
345 HQB0.resize(HQBarray);
348 antiHQBR.resize(HQBarray);
349 antiHQB0.resize(HQBarray);
353 QDPIO::cout<<
"Making lambdaB blocks\n";
367 QDPIO::cout<<
" Contracting Lambda_b \n";
368 multi1d<DComplex> lambdab,lambdaba,lambdabb;
369 lambdab.resize(length); lambdaba.resize(length); lambdabb.resize(length);
372 for (
int t=0;
t<length;
t++){
373 lambdab[
t]= 0.5 * ( lambdaba[
t]+lambdabb[
t]);
377 QDPIO::cout<<
" Contracting Lambda_b--Lambda_b \n";
378 multi1d<DComplex> lambdablambdab;
379 lambdablambdab.resize(length);
380 lambdablambdab =
c1contract(B_U1_D1_0_Cg5, B_U1_D3_0_Cg5,
381 B_U2_D2_R_Cg5, B_U2_D4_R_Cg5,
382 B_U3_D1_0_Cg5, B_U3_D3_0_Cg5,
383 B_U4_D2_R_Cg5, B_U4_D4_R_Cg5,
386 QDPIO::cout<<
"Making sigmaB^+ blocks\n";
387 QllBlock B_U4_U2_R_Cg3(Nt,U4,U2,Cg3,HQBR);
388 QllBlock B_U3_U1_0_Cg3(Nt,U3,U1,Cg3,HQB0);
389 QllBlock B_U2_U4_R_Cg3(Nt,U2,U4,Cg3,HQBR);
390 QllBlock B_U1_U3_0_Cg3(Nt,U1,U3,Cg3,HQB0);
391 QllBlock B_U4_U4_R_Cg3(Nt,U4,U4,Cg3,HQBR);
392 QllBlock B_U3_U3_0_Cg3(Nt,U3,U3,Cg3,HQB0);
393 QllBlock B_U2_U2_R_Cg3(Nt,U2,U2,Cg3,HQBR);
394 QllBlock B_U1_U1_0_Cg3(Nt,U1,U1,Cg3,HQB0);
396 QllBlock B_U4_U2_R_Cgplus(Nt,U4,U2,Cgplus,HQBR);
397 QllBlock B_U3_U1_0_Cgplus(Nt,U3,U1,Cgplus,HQB0);
398 QllBlock B_U2_U4_R_Cgplus(Nt,U2,U4,Cgplus,HQBR);
399 QllBlock B_U1_U3_0_Cgplus(Nt,U1,U3,Cgplus,HQB0);
400 QllBlock B_U4_U4_R_Cgplus(Nt,U4,U4,Cgplus,HQBR);
401 QllBlock B_U3_U3_0_Cgplus(Nt,U3,U3,Cgplus,HQB0);
402 QllBlock B_U2_U2_R_Cgplus(Nt,U2,U2,Cgplus,HQBR);
403 QllBlock B_U1_U1_0_Cgplus(Nt,U1,U1,Cgplus,HQB0);
405 QllBlock B_U4_U2_R_Cgminus(Nt,U4,U2,Cgminus,HQBR);
406 QllBlock B_U3_U1_0_Cgminus(Nt,U3,U1,Cgminus,HQB0);
407 QllBlock B_U2_U4_R_Cgminus(Nt,U2,U4,Cgminus,HQBR);
408 QllBlock B_U1_U3_0_Cgminus(Nt,U1,U3,Cgminus,HQB0);
409 QllBlock B_U4_U4_R_Cgminus(Nt,U4,U4,Cgminus,HQBR);
410 QllBlock B_U3_U3_0_Cgminus(Nt,U3,U3,Cgminus,HQB0);
411 QllBlock B_U2_U2_R_Cgminus(Nt,U2,U2,Cgminus,HQBR);
412 QllBlock B_U1_U1_0_Cgminus(Nt,U1,U1,Cgminus,HQB0);
414 QDPIO::cout<<
"Making sigmaB^0 blocks\n";
415 QllBlock B_U4_D2_R_Cg3(Nt,U4,D2,Cg3,HQBR);
416 QllBlock B_U3_D1_0_Cg3(Nt,U3,D1,Cg3,HQB0);
417 QllBlock B_U2_D4_R_Cg3(Nt,U2,D4,Cg3,HQBR);
418 QllBlock B_U1_D3_0_Cg3(Nt,U1,D3,Cg3,HQB0);
419 QllBlock B_U4_D4_R_Cg3(Nt,U4,D4,Cg3,HQBR);
420 QllBlock B_U3_D3_0_Cg3(Nt,U3,D3,Cg3,HQB0);
421 QllBlock B_U2_D2_R_Cg3(Nt,U2,D2,Cg3,HQBR);
422 QllBlock B_U1_D1_0_Cg3(Nt,U1,D1,Cg3,HQB0);
424 QllBlock B_U4_D2_R_Cgplus(Nt,U4,D2,Cgplus,HQBR);
425 QllBlock B_U3_D1_0_Cgplus(Nt,U3,D1,Cgplus,HQB0);
426 QllBlock B_U2_D4_R_Cgplus(Nt,U2,D4,Cgplus,HQBR);
427 QllBlock B_U1_D3_0_Cgplus(Nt,U1,D3,Cgplus,HQB0);
428 QllBlock B_U4_D4_R_Cgplus(Nt,U4,D4,Cgplus,HQBR);
429 QllBlock B_U3_D3_0_Cgplus(Nt,U3,D3,Cgplus,HQB0);
430 QllBlock B_U2_D2_R_Cgplus(Nt,U2,D2,Cgplus,HQBR);
431 QllBlock B_U1_D1_0_Cgplus(Nt,U1,D1,Cgplus,HQB0);
433 QllBlock B_U4_D2_R_Cgminus(Nt,U4,D2,Cgminus,HQBR);
434 QllBlock B_U3_D1_0_Cgminus(Nt,U3,D1,Cgminus,HQB0);
435 QllBlock B_U2_D4_R_Cgminus(Nt,U2,D4,Cgminus,HQBR);
436 QllBlock B_U1_D3_0_Cgminus(Nt,U1,D3,Cgminus,HQB0);
437 QllBlock B_U4_D4_R_Cgminus(Nt,U4,D4,Cgminus,HQBR);
438 QllBlock B_U3_D3_0_Cgminus(Nt,U3,D3,Cgminus,HQB0);
439 QllBlock B_U2_D2_R_Cgminus(Nt,U2,D2,Cgminus,HQBR);
440 QllBlock B_U1_D1_0_Cgminus(Nt,U1,D1,Cgminus,HQB0);
443 QDPIO::cout<<
"Making sigmaB^- blocks\n";
444 QllBlock B_D4_D2_R_Cg3(Nt,D4,D2,Cg3,HQBR);
445 QllBlock B_D3_D1_0_Cg3(Nt,D3,D1,Cg3,HQB0);
446 QllBlock B_D2_D4_R_Cg3(Nt,D2,D4,Cg3,HQBR);
447 QllBlock B_D1_D3_0_Cg3(Nt,D1,D3,Cg3,HQB0);
448 QllBlock B_D4_D4_R_Cg3(Nt,D4,D4,Cg3,HQBR);
449 QllBlock B_D3_D3_0_Cg3(Nt,D3,D3,Cg3,HQB0);
450 QllBlock B_D2_D2_R_Cg3(Nt,D2,D2,Cg3,HQBR);
451 QllBlock B_D1_D1_0_Cg3(Nt,D1,D1,Cg3,HQB0);
453 QllBlock B_D4_D2_R_Cgplus(Nt,D4,D2,Cgplus,HQBR);
454 QllBlock B_D3_D1_0_Cgplus(Nt,D3,D1,Cgplus,HQB0);
455 QllBlock B_D2_D4_R_Cgplus(Nt,D2,D4,Cgplus,HQBR);
456 QllBlock B_D1_D3_0_Cgplus(Nt,D1,D3,Cgplus,HQB0);
457 QllBlock B_D4_D4_R_Cgplus(Nt,D4,D4,Cgplus,HQBR);
458 QllBlock B_D3_D3_0_Cgplus(Nt,D3,D3,Cgplus,HQB0);
459 QllBlock B_D2_D2_R_Cgplus(Nt,D2,D2,Cgplus,HQBR);
460 QllBlock B_D1_D1_0_Cgplus(Nt,D1,D1,Cgplus,HQB0);
462 QllBlock B_D4_D2_R_Cgminus(Nt,D4,D2,Cgminus,HQBR);
463 QllBlock B_D3_D1_0_Cgminus(Nt,D3,D1,Cgminus,HQB0);
464 QllBlock B_D2_D4_R_Cgminus(Nt,D2,D4,Cgminus,HQBR);
465 QllBlock B_D1_D3_0_Cgminus(Nt,D1,D3,Cgminus,HQB0);
466 QllBlock B_D4_D4_R_Cgminus(Nt,D4,D4,Cgminus,HQBR);
467 QllBlock B_D3_D3_0_Cgminus(Nt,D3,D3,Cgminus,HQB0);
468 QllBlock B_D2_D2_R_Cgminus(Nt,D2,D2,Cgminus,HQBR);
469 QllBlock B_D1_D1_0_Cgminus(Nt,D1,D1,Cgminus,HQB0);
472 QDPIO::cout<<
"Making anti-sigmaB^- blocks\n";
473 QllBlock Bbar_D4_D2_R_Cg3(Nt,antiD4,antiD2,Cg3,antiHQBR);
474 QllBlock Bbar_D3_D1_0_Cg3(Nt,antiD3,antiD1,Cg3,antiHQB0);
475 QllBlock Bbar_D2_D4_R_Cg3(Nt,antiD2,antiD4,Cg3,antiHQBR);
476 QllBlock Bbar_D1_D3_0_Cg3(Nt,antiD1,antiD3,Cg3,antiHQB0);
477 QllBlock Bbar_D4_D4_R_Cg3(Nt,antiD4,antiD4,Cg3,antiHQBR);
478 QllBlock Bbar_D3_D3_0_Cg3(Nt,antiD3,antiD3,Cg3,antiHQB0);
479 QllBlock Bbar_D2_D2_R_Cg3(Nt,antiD2,antiD2,Cg3,antiHQBR);
480 QllBlock Bbar_D1_D1_0_Cg3(Nt,antiD1,antiD1,Cg3,antiHQB0);
482 QllBlock Bbar_D4_D2_R_Cgplus(Nt,antiD4,antiD2,Cgplus,antiHQBR);
483 QllBlock Bbar_D3_D1_0_Cgplus(Nt,antiD3,antiD1,Cgplus,antiHQB0);
484 QllBlock Bbar_D2_D4_R_Cgplus(Nt,antiD2,antiD4,Cgplus,antiHQBR);
485 QllBlock Bbar_D1_D3_0_Cgplus(Nt,antiD1,antiD3,Cgplus,antiHQB0);
486 QllBlock Bbar_D4_D4_R_Cgplus(Nt,antiD4,antiD4,Cgplus,antiHQBR);
487 QllBlock Bbar_D3_D3_0_Cgplus(Nt,antiD3,antiD3,Cgplus,antiHQB0);
488 QllBlock Bbar_D2_D2_R_Cgplus(Nt,antiD2,antiD2,Cgplus,antiHQBR);
489 QllBlock Bbar_D1_D1_0_Cgplus(Nt,antiD1,antiD1,Cgplus,antiHQB0);
491 QllBlock Bbar_D4_D2_R_Cgminus(Nt,antiD4,antiD2,Cgminus,antiHQBR);
492 QllBlock Bbar_D3_D1_0_Cgminus(Nt,antiD3,antiD1,Cgminus,antiHQB0);
493 QllBlock Bbar_D2_D4_R_Cgminus(Nt,antiD2,antiD4,Cgminus,antiHQBR);
494 QllBlock Bbar_D1_D3_0_Cgminus(Nt,antiD1,antiD3,Cgminus,antiHQB0);
495 QllBlock Bbar_D4_D4_R_Cgminus(Nt,antiD4,antiD4,Cgminus,antiHQBR);
496 QllBlock Bbar_D3_D3_0_Cgminus(Nt,antiD3,antiD3,Cgminus,antiHQB0);
497 QllBlock Bbar_D2_D2_R_Cgminus(Nt,antiD2,antiD2,Cgminus,antiHQBR);
498 QllBlock Bbar_D1_D1_0_Cgminus(Nt,antiD1,antiD1,Cgminus,antiHQB0);
501 QDPIO::cout<<
" Contracting Sigma_b^+ \n";
502 multi1d<DComplex> sigmabplusJ1m1, sigmabplusJ1m1a, sigmabplusJ1m1b;
503 multi1d<DComplex> sigmabplusJ1m0,sigmabplusJ1m0a,sigmabplusJ1m0b;
504 multi1d<DComplex> sigmabplusJ1mneg1,sigmabplusJ1mneg1a,sigmabplusJ1mneg1b;
506 sigmabplusJ1m1.resize(length); sigmabplusJ1m1a.resize(length); sigmabplusJ1m1b.resize(length);
507 sigmabplusJ1m0.resize(length);sigmabplusJ1m0a.resize(length);sigmabplusJ1m0b.resize(length);
508 sigmabplusJ1mneg1.resize(length);sigmabplusJ1mneg1a.resize(length);sigmabplusJ1mneg1b.resize(length);
516 for (
int t=0;
t<length;
t++){
517 sigmabplusJ1m1[
t] = 0.5 * (sigmabplusJ1m1a[
t]+sigmabplusJ1m1b[
t]);
518 sigmabplusJ1m0[
t] = 0.5 * (sigmabplusJ1m0a[
t]+sigmabplusJ1m0b[
t]);
519 sigmabplusJ1mneg1[
t] = 0.5 * (sigmabplusJ1mneg1a[
t]+sigmabplusJ1mneg1b[
t]);
524 QDPIO::cout<<
" Contracting Sigma_b^0 \n";
525 multi1d<DComplex> sigmabzeroJ1m1, sigmabzeroJ1m0, sigmabzeroJ1mneg1;
529 sigmabzeroJ1m1 *= 0.5;
533 sigmabzeroJ1m0 *= 0.5;
537 sigmabzeroJ1mneg1 *= 0.5;
541 QDPIO::cout<<
" Contracting Sigma_b^+--Sigma_b^+ \n";
542 multi2d<DComplex> sigmabplussigmabplus;
543 sigmabplussigmabplus.resize(9,length);
545 B_U1_U1_0_Cgplus, B_U1_U3_0_Cgplus,
546 B_U2_U2_R_Cgplus, B_U2_U4_R_Cgplus,
547 B_U3_U1_0_Cgplus, B_U3_U3_0_Cgplus,
548 B_U4_U2_R_Cgplus, B_U4_U4_R_Cgplus,
550 B_U1_U1_0_Cg3, B_U1_U3_0_Cg3,
551 B_U2_U2_R_Cg3, B_U2_U4_R_Cg3,
552 B_U3_U1_0_Cg3, B_U3_U3_0_Cg3,
553 B_U4_U2_R_Cg3, B_U4_U4_R_Cg3,
555 B_U1_U1_0_Cgminus, B_U1_U3_0_Cgminus,
556 B_U2_U2_R_Cgminus, B_U2_U4_R_Cgminus,
557 B_U3_U1_0_Cgminus, B_U3_U3_0_Cgminus,
558 B_U4_U2_R_Cgminus, B_U4_U4_R_Cgminus);
561 QDPIO::cout<<
" Contracting Sigma_b^+--Sigma_b^0 \n";
562 multi2d<DComplex> sigmabplussigmabzero;
563 sigmabplussigmabzero.resize(9,length);
565 B_U1_D1_0_Cgplus, B_U2_U2_R_Cgplus,
566 B_U2_U4_R_Cgplus, B_U3_D1_0_Cgplus,
569 B_U1_D1_0_Cg3, B_U2_U2_R_Cg3,
570 B_U2_U4_R_Cg3, B_U3_D1_0_Cg3,
573 B_U1_D1_0_Cgminus, B_U2_U2_R_Cgminus,
574 B_U2_U4_R_Cgminus, B_U3_D1_0_Cgminus,
579 QDPIO::cout<<
" Contracting Sigma_b^+--Sigma_b^- \n";
580 multi2d<DComplex> sigmabplussigmabminus;
581 sigmabplussigmabminus.resize(9,length);
582 sigmabplussigmabminus =
c6J2corr(B_D1_D1_0_Cgplus, B_U2_U2_R_Cgplus,
583 B_D1_D1_0_Cg3, B_U2_U2_R_Cg3,
584 B_D1_D1_0_Cgminus, B_U2_U2_R_Cgminus);
587 QDPIO::cout<<
" Contracting Sigma_b^+--Lambda_b \n";
588 multi1d<DComplex> sigmabpluslambdabJ1m1, sigmabpluslambdabJ1m0, sigmabpluslambdabJ1mneg1;
589 sigmabpluslambdabJ1m1.resize(length);
590 sigmabpluslambdabJ1m0.resize(length);
591 sigmabpluslambdabJ1mneg1.resize(length);
593 sigmabpluslambdabJ1m1 =
c4contract(B_U1_D1_0_Cg5, B_U2_U2_R_Cgplus,
594 B_U2_U4_R_Cgplus, B_U3_D1_0_Cg5,
597 sigmabpluslambdabJ1m0 =
c4contract(B_U1_D1_0_Cg5, B_U2_U2_R_Cg3,
598 B_U2_U4_R_Cg3, B_U3_D1_0_Cg5,
601 sigmabpluslambdabJ1mneg1 =
c4contract(B_U1_D1_0_Cg5, B_U2_U2_R_Cgminus,
602 B_U2_U4_R_Cgminus, B_U3_D1_0_Cg5,
609 QDPIO::cout<<
" Contracting Sigma_b^+--Lambda_b transition \n";
610 multi1d<DComplex> sigmabpluslambdabtransitionJ1m1, sigmabpluslambdabtransitionJ1m0, sigmabpluslambdabtransitionJ1mneg1;
611 sigmabpluslambdabtransitionJ1m1.resize(length);
612 sigmabpluslambdabtransitionJ1m0.resize(length);
613 sigmabpluslambdabtransitionJ1mneg1.resize(length);
615 sigmabpluslambdabtransitionJ1m1 =
c7contract(B_U2_D4_R_Cg5, B_U1_U3_0_Cgplus, B_U4_D4_R_Cg5,
616 B_U3_U1_0_Cgplus, B_U3_U3_0_Cgplus,
618 sigmabpluslambdabtransitionJ1m0 =
c7contract(B_U2_D4_R_Cg5, B_U1_U3_0_Cg3, B_U4_D4_R_Cg5,
619 B_U3_U1_0_Cg3, B_U3_U3_0_Cg3,
621 sigmabpluslambdabtransitionJ1mneg1 =
c7contract(B_U2_D4_R_Cg5, B_U1_U3_0_Cgminus, B_U4_D4_R_Cg5,
622 B_U3_U1_0_Cgminus, B_U3_U3_0_Cgminus,
634 QDPIO::cout<<
" Contracting Sigma_b^+--antiSigma_b^- \n";
638 multi2d<DComplex> sigmabplussigmabarbminusa,sigmabplussigmabarbminusb,sigmabplussigmabarbminus;
639 sigmabplussigmabarbminusa.resize(9,length);
640 sigmabplussigmabarbminusb.resize(9,length);
641 sigmabplussigmabarbminus.resize(9,length);
642 sigmabplussigmabarbminusa =
c6J2corr(Bbar_D1_D1_0_Cgplus, B_U2_U2_R_Cgplus,
643 Bbar_D1_D1_0_Cg3, B_U2_U2_R_Cg3,
644 Bbar_D1_D1_0_Cgminus, B_U2_U2_R_Cgminus);
645 sigmabplussigmabarbminusb =
c6J2corr(B_U1_U1_0_Cgplus, Bbar_D2_D2_R_Cgplus,
646 B_U1_U1_0_Cg3, Bbar_D2_D2_R_Cg3,
647 B_U1_U1_0_Cgminus, Bbar_D2_D2_R_Cgminus);
648 for (
int i=0;
i<9;
i++){
for (
int t=0;
t<length;
t++){
649 sigmabplussigmabarbminus[
i][
t] = 0.5 * (sigmabplussigmabarbminusa[
i][
t] + sigmabplussigmabarbminusb[
i][
t]);
654 QDPIO::cout<<
" Contracting Bu--Lambda_b \n";
658 multi1d<DComplex> bulambdabJhalfmhalf;
659 bulambdabJhalfmhalf.resize(length);
661 bulambdabJhalfmhalf =
d1contract(B_U1_D1_0_Cg5, B_U3_D1_0_Cg5,
662 H_U2_Gup_R, H_U4_Gup_R,
664 bulambdabJhalfmhalf +=
d1contract(B_U2_D2_R_Cg5, B_U4_D2_R_Cg5,
665 H_U1_Gup_0, H_U3_Gup_0,
667 bulambdabJhalfmhalf *= 0.5;
669 multi1d<DComplex> bulambdabJhalfmneghalf;
670 bulambdabJhalfmneghalf.resize(length);
671 bulambdabJhalfmneghalf =
d1contract(B_U1_D1_0_Cg5, B_U3_D1_0_Cg5,
672 H_U2_Gdown_R, H_U4_Gdown_R,
674 bulambdabJhalfmneghalf +=
d1contract(B_U2_D2_R_Cg5, B_U4_D2_R_Cg5,
675 H_U1_Gdown_0, H_U3_Gdown_0,
677 bulambdabJhalfmneghalf *= 0.5;
679 QDPIO::cout<<
" Contracting Bu--Sigma_b^+ \n";
683 multi2d<DComplex> busigmabplus,busigmabplusa,busigmabplusb;
684 busigmabplus.resize(6,length);
685 busigmabplusa.resize(6,length);
686 busigmabplusb.resize(6,length);
688 B_U1_U1_0_Cgplus, B_U3_U1_0_Cgplus, B_U1_U3_0_Cgplus,
689 H_U2_Gup_R, H_U4_Gup_R,
691 B_U1_U1_0_Cg3, B_U3_U1_0_Cg3, B_U1_U3_0_Cg3,
693 B_U1_U1_0_Cgminus, B_U3_U1_0_Cgminus, B_U1_U3_0_Cgminus,
694 H_U2_Gdown_R, H_U4_Gdown_R);
696 B_U2_U2_R_Cgplus, B_U4_U2_R_Cgplus, B_U2_U4_R_Cgplus,
697 H_U1_Gup_0, H_U3_Gup_0,
699 B_U2_U2_R_Cg3, B_U4_U2_R_Cg3, B_U2_U4_R_Cg3,
701 B_U2_U2_R_Cgminus, B_U4_U2_R_Cgminus, B_U2_U4_R_Cgminus,
702 H_U1_Gdown_0, H_U3_Gdown_0);
703 for (
int i=0;
i<6;
i++){
for (
int t=0;
t<length;
t++){
704 busigmabplus[
i][
t] = 0.5 *(busigmabplusa[
i][
t] + busigmabplusb[
i][
t]);
707 QDPIO::cout<<
" Contracting Bd--Sigma_b^+ \n";
711 multi2d<DComplex> bdsigmabplus,bdsigmabplusa,bdsigmabplusb;
712 bdsigmabplus.resize(6,length);
713 bdsigmabplusa.resize(6,length);
714 bdsigmabplusb.resize(6,length);
731 for (
int i=0;
i<6;
i++){
for (
int t=0;
t<length;
t++){
732 bdsigmabplus[
i][
t] = 0.5 *(bdsigmabplusa[
i][
t] + bdsigmabplusb[
i][
t]);
735 QDPIO::cout<<
" Contracting Bbard--Sigma_b^+ \n";
739 multi2d<DComplex> bbardsigmabplus,bbardsigmabplusa,bbardsigmabplusb;
740 bbardsigmabplus.resize(6,length);
741 bbardsigmabplusa.resize(6,length);
742 bbardsigmabplusb.resize(6,length);
759 for (
int i=0;
i<6;
i++){
for (
int t=0;
t<length;
t++){
760 bbardsigmabplus[
i][
t] = 0.5 *(bbardsigmabplusa[
i][
t] + bbardsigmabplusb[
i][
t]);
765 push(xml, xml_group);
767 write(xml,
"Bmes",bmes);
768 write(xml,
"Bmes0",bmes0);
769 write(xml,
"BmesR", bmesR);
770 write(xml,
"BmesJ0.5m0.5",bmesup);
771 write(xml,
"Bmes0J0.5m0.5",bmes0up);
772 write(xml,
"BmesRJ0.5m0.5", bmesRup);
773 write(xml,
"BmesJ0.5mneg0.5",bmesdown);
774 write(xml,
"Bmes0J0.5mneg0.5",bmes0down);
775 write(xml,
"BmesRJ0.5mneg0.5", bmesRdown);
776 write(xml,
"lambdab", lambdab);
777 write(xml,
"lambdab0", lambdaba);
778 write(xml,
"lambdabR", lambdabb);
779 write(xml,
"sigmabplusJ1m1", sigmabplusJ1m1);
780 write(xml,
"sigmabplusJ1m0", sigmabplusJ1m0);
781 write(xml,
"sigmabplusJ1mneg1", sigmabplusJ1mneg1);
782 write(xml,
"sigmabplusJ1m1_0", sigmabplusJ1m1a);
783 write(xml,
"sigmabplusJ1m0_0", sigmabplusJ1m0a);
784 write(xml,
"sigmabplusJ1mneg1_0", sigmabplusJ1mneg1a);
785 write(xml,
"sigmabplusJ1m1_R", sigmabplusJ1m1b);
786 write(xml,
"sigmabplusJ1m0_R", sigmabplusJ1m0b);
787 write(xml,
"sigmabplusJ1mneg1_R", sigmabplusJ1mneg1b);
788 write(xml,
"sigmabzeroJ1m1", sigmabzeroJ1m1);
789 write(xml,
"sigmabzeroJ1m0", sigmabzeroJ1m0);
790 write(xml,
"sigmabzeroJ1mneg1", sigmabzeroJ1mneg1);
792 write(xml,
"Bu_Bu_J0m0", BuBuJ0m0);
793 write(xml,
"Bu_Bu_J1m1", BuBuJ1m1);
794 write(xml,
"Bu_Bu_J1m0",BuBuJ1m0);
795 write(xml,
"Bu_Bu_J1mneg1", BuBuJ1mneg1);
796 write(xml,
"Bu_Bd_J0m0", BuBdJ0m0);
797 write(xml,
"Bu_Bd_J1m1", BuBdJ1m1);
798 write(xml,
"Bu_Bd_J1m0", BuBdJ1m0);
799 write(xml,
"Bu_Bd_J1mneg1", BuBdJ1mneg1);
800 write(xml,
"Bu_Bdbar_J0m0", BuBdbarJ0m0);
801 write(xml,
"Bu_Bdbar_J1m1", BuBdbarJ1m1);
802 write(xml,
"Bu_Bdbar_J1m0", BuBdbarJ1m0);
803 write(xml,
"Bu_Bdbar_J1mneg1", BuBdbarJ1mneg1);
805 write(xml,
"lambdaB_lambdaB_J0m0", lambdablambdab);
806 write(xml,
"sigmabplus_sigmabplus_J2m2", sigmabplussigmabplus[0]);
807 write(xml,
"sigmabplus_sigmabplus_J2m1", sigmabplussigmabplus[1]);
808 write(xml,
"sigmabplus_sigmabplus_J2m0", sigmabplussigmabplus[2]);
809 write(xml,
"sigmabplus_sigmabplus_J2mneg1", sigmabplussigmabplus[3]);
810 write(xml,
"sigmabplus_sigmabplus_J2mneg2", sigmabplussigmabplus[4]);
811 write(xml,
"sigmabplus_sigmabplus_J1m1", sigmabplussigmabplus[5]);
812 write(xml,
"sigmabplus_sigmabplus_J1m0", sigmabplussigmabplus[6]);
813 write(xml,
"sigmabplus_sigmabplus_J1mneg1", sigmabplussigmabplus[7]);
814 write(xml,
"sigmabplus_sigmabplus_J0m0", sigmabplussigmabplus[8]);
816 write(xml,
"sigmabplus_sigmabzero_J2m2", sigmabplussigmabzero[0]);
817 write(xml,
"sigmabplus_sigmabzero_J2m1", sigmabplussigmabzero[1]);
818 write(xml,
"sigmabplus_sigmabzero_J2m0", sigmabplussigmabzero[2]);
819 write(xml,
"sigmabplus_sigmabzero_J2mneg1", sigmabplussigmabzero[3]);
820 write(xml,
"sigmabplus_sigmabzero_J2mneg2", sigmabplussigmabzero[4]);
821 write(xml,
"sigmabplus_sigmabzero_J1m1", sigmabplussigmabzero[5]);
822 write(xml,
"sigmabplus_sigmabzero_J1m0", sigmabplussigmabzero[6]);
823 write(xml,
"sigmabplus_sigmabzero_J1mneg1", sigmabplussigmabzero[7]);
824 write(xml,
"sigmabplus_sigmabzero_J0m0", sigmabplussigmabzero[8]);
826 write(xml,
"sigmabplus_sigmabminus_J2m2", sigmabplussigmabminus[0]);
827 write(xml,
"sigmabplus_sigmabminus_J2m1", sigmabplussigmabminus[1]);
828 write(xml,
"sigmabplus_sigmabminus_J2m0", sigmabplussigmabminus[2]);
829 write(xml,
"sigmabplus_sigmabminus_J2mneg1", sigmabplussigmabminus[3]);
830 write(xml,
"sigmabplus_sigmabminus_J2mneg2", sigmabplussigmabminus[4]);
831 write(xml,
"sigmabplus_sigmabminus_J1m1", sigmabplussigmabminus[5]);
832 write(xml,
"sigmabplus_sigmabminus_J1m0", sigmabplussigmabminus[6]);
833 write(xml,
"sigmabplus_sigmabminus_J1mneg1", sigmabplussigmabminus[7]);
834 write(xml,
"sigmabplus_sigmabminus_J0m0", sigmabplussigmabminus[8]);
836 write(xml,
"sigmabplus_antisigmabminus_J2m2", sigmabplussigmabarbminus[0]);
837 write(xml,
"sigmabplus_antisigmabminus_J2m1", sigmabplussigmabarbminus[1]);
838 write(xml,
"sigmabplus_antisigmabminus_J2m0", sigmabplussigmabarbminus[2]);
839 write(xml,
"sigmabplus_antisigmabminus_J2mneg1", sigmabplussigmabarbminus[3]);
840 write(xml,
"sigmabplus_antisigmabminus_J2mneg2", sigmabplussigmabarbminus[4]);
841 write(xml,
"sigmabplus_antisigmabminus_J1m1", sigmabplussigmabarbminus[5]);
842 write(xml,
"sigmabplus_antisigmabminus_J1m0", sigmabplussigmabarbminus[6]);
843 write(xml,
"sigmabplus_antisigmabminus_J1mneg1", sigmabplussigmabarbminus[7]);
844 write(xml,
"sigmabplus_antisigmabminus_J0m0", sigmabplussigmabarbminus[8]);
846 write(xml,
"sigmabplus_lambda_J1m1", sigmabpluslambdabJ1m1);
847 write(xml,
"sigmabplus_lambda_J1m0", sigmabpluslambdabJ1m0);
848 write(xml,
"sigmabplus_lambda_J1mneg1", sigmabpluslambdabJ1mneg1);
850 write(xml,
"sigmabplus_lambda_transition_J1m1", sigmabpluslambdabtransitionJ1m1);
851 write(xml,
"sigmabplus_lambda_transition_J1m0", sigmabpluslambdabtransitionJ1m0);
852 write(xml,
"sigmabplus_lambda_transition_J1mneg1", sigmabpluslambdabtransitionJ1mneg1);
855 write(xml,
"bu_lambdab_J0.5m0.5", bulambdabJhalfmhalf);
856 write(xml,
"bu_lambdab_J0.5mneg0.5", bulambdabJhalfmneghalf);
858 write(xml,
"bu_sigmabplus_J1.5m1.5", busigmabplus[0]);
859 write(xml,
"bu_sigmabplus_J1.5m0.5", busigmabplus[1]);
860 write(xml,
"bu_sigmabplus_J1.5mneg0.5", busigmabplus[2]);
861 write(xml,
"bu_sigmabplus_J1.5mneg1.5", busigmabplus[3]);
862 write(xml,
"bu_sigmabplus_J0.5m0.5", busigmabplus[4]);
863 write(xml,
"bu_sigmabplus_J0.5mneg0.5", busigmabplus[5]);
865 write(xml,
"bd_sigmabplus_J1.5m1.5", bdsigmabplus[0]);
866 write(xml,
"bd_sigmabplus_J1.5m0.5", bdsigmabplus[1]);
867 write(xml,
"bd_sigmabplus_J1.5mneg0.5", bdsigmabplus[2]);
868 write(xml,
"bd_sigmabplus_J1.5mneg1.5", bdsigmabplus[3]);
869 write(xml,
"bd_sigmabplus_J0.5m0.5", bdsigmabplus[4]);
870 write(xml,
"bd_sigmabplus_J0.5mneg0.5", bdsigmabplus[5]);
872 write(xml,
"bbard_sigmabplus_J1.5m1.5", bbardsigmabplus[0]);
873 write(xml,
"bbard_sigmabplus_J1.5m0.5", bbardsigmabplus[1]);
874 write(xml,
"bbard_sigmabplus_J1.5mneg0.5", bbardsigmabplus[2]);
875 write(xml,
"bbard_sigmabplus_J1.5mneg1.5", bbardsigmabplus[3]);
876 write(xml,
"bbard_sigmabplus_J0.5m0.5", bbardsigmabplus[4]);
877 write(xml,
"bbard_sigmabplus_J0.5mneg0.5", bbardsigmabplus[5]);
889 multiNd<DComplex>
HBQfunc(
const multi1d<ColorMatrix>& HQ)
891 int length = HQ.size();
892 multiNd<DComplex> result;
894 Barray.resize(4); Barray= Nc; Barray[0]=length;
895 result.resize(Barray);
898 for (
int t=0;
t<length;
t++){
900 for (
int aa=0; aa<Nc; aa++){
902 for (
int bb=0; bb<Nc; bb++){
904 for (
int c=0;
c<Nc;
c++){
907 for (
int cc=0;cc<Nc; cc++)
909 result[Barray] = thisres;
919 int length = HQ.size();
920 multiNd<DComplex> result;
922 Barray.resize(4); Barray= Nc; Barray[0]=length;
923 result.resize(Barray);
926 for (
int t=0;
t<length;
t++){
928 for (
int aa=0; aa<Nc; aa++){
930 for (
int bb=0; bb<Nc; bb++){
932 for (
int c=0;
c<Nc;
c++){
935 for (
int cc=0;cc<Nc; cc++)
937 result[Barray] = thisres;
951 const SpinMatrix& S1,
const SpinMatrix& S2)
957 int length=BzU1zD1z0zCg5.
length();
958 multi1d<DComplex> result;
959 result.resize(length);
961 SpinMatrix S1tilde, S2tilde;
963 S1tilde = Gamma(8) * adj(S1) * Gamma(8);
964 S2tilde = Gamma(8) * adj(S2) * Gamma(8);
966 DComplex tmpSpin, c2res, c1res, c3res;
969 for (
int t=0;
t<length;
t++){
970 for (
int is=0; is<
Nd; is++){
971 for (
int js=0; js<
Nd; js++){
972 for (
int ks=0; ks<
Nd; ks++){
973 for (
int ls=0; ls<
Nd; ls++){
974 tmpSpin = peekSpin(S1tilde,is,js) * peekSpin(S2tilde,ks,ls);
976 for (
int ic=0; ic<Nc; ic++){
977 for (
int kc=0; kc<Nc; kc++){
978 for (
int lc=0;
lc<Nc;
lc++){
979 if (ic != kc && ic !=
lc && kc !=
lc)
982 for (
int jc=0; jc<Nc; jc++){
983 for (
int mc=0; mc<Nc; mc++){
984 for (
int nc=0; nc<Nc; nc++){
986 if (jc != mc && jc != nc && mc != nc)
988 c3res = -BzU1zD1z0zCg5(
t,jc,mc,nc,ks,ls)*BzU2zD2zRzCg5(
t,ic,kc,
lc,is,js) +
989 BzU1zD3z0zCg5(
t,jc,kc,nc,ks,js)*BzU2zD4zRzCg5(
t,ic,mc,
lc,is,ls) +
990 BzU3zD1z0zCg5(
t,ic,mc,nc,is,ls)*BzU4zD2zRzCg5(
t,jc,kc,
lc,ks,js) -
991 BzU3zD3z0zCg5(
t,ic,kc,nc,is,js)*BzU4zD4zRzCg5(
t,jc,mc,
lc,ks,ls);
1005 result[
t] += tmpSpin * c1res;
1020 const SpinMatrix& S1,
const SpinMatrix& S2)
1027 int length=BzU1zD1z0zCgjj.
length();
1028 multi1d<DComplex> result;
1029 result.resize(length);
1031 SpinMatrix S1tilde, S2tilde;
1033 S1tilde = Gamma(8) * adj(S1) * Gamma(8);
1034 S2tilde = Gamma(8) * adj(S2) * Gamma(8);
1036 DComplex tmpSpin, c2res, c1res, c3res;
1039 for (
int t=0;
t<length;
t++){
1040 for (
int is=0; is<
Nd; is++){
1041 for (
int js=0; js<
Nd; js++){
1042 for (
int ks=0; ks<
Nd; ks++){
1043 for (
int ls=0; ls<
Nd; ls++){
1044 tmpSpin = peekSpin(S1tilde,is,js) * peekSpin(S2tilde,ks,ls);
1046 for (
int ic=0; ic<Nc; ic++){
1047 for (
int kc=0; kc<Nc; kc++){
1048 for (
int lc=0;
lc<Nc;
lc++){
1049 if (ic != kc && ic !=
lc && kc !=
lc)
1052 for (
int jc=0; jc<Nc; jc++){
1053 for (
int mc=0; mc<Nc; mc++){
1054 for (
int nc=0; nc<Nc; nc++){
1056 if (jc != mc && jc != nc && mc != nc)
1058 c3res = -BzU1zD1z0zCgjj(
t,jc,mc,nc,ks,ls)*BzU2zU2zRzCgii(
t,ic,kc,
lc,is,js) +
1059 BzU1zD1z0zCgjj(
t,jc,mc,nc,ks,ls)*BzU2zU2zRzCgii(
t,kc,ic,
lc,js,is) -
1060 BzU2zU4zRzCgii(
t,kc,jc,
lc,js,ks)*BzU3zD1z0zCgjj(
t,ic,mc,nc,is,ls) +
1061 BzU2zU4zRzCgii(
t,ic,jc,
lc,is,ks)*BzU3zD1z0zCgjj(
t,kc,mc,nc,js,ls) -
1062 BzU3zD1z0zCgjj(
t,kc,mc,nc,js,ls)*BzU4zU2zRzCgii(
t,jc,ic,
lc,ks,is) +
1063 BzU3zD1z0zCgjj(
t,ic,mc,nc,is,ls)*BzU4zU2zRzCgii(
t,jc,kc,
lc,ks,js);
1076 result[
t] += tmpSpin * c1res;
1091 const SpinMatrix& S1,
const SpinMatrix& S2)
1097 int length=BzU1zU1z0zCgjj.
length();
1098 multi1d<DComplex> result;
1099 result.resize(length);
1101 SpinMatrix S1tilde, S2tilde;
1103 S1tilde = Gamma(8) * adj(S1) * Gamma(8);
1104 S2tilde = Gamma(8) * adj(S2) * Gamma(8);
1106 DComplex tmpSpin, c2res, c1res, c3res;
1109 for (
int t=0;
t<length;
t++){
1110 for (
int is=0; is<
Nd; is++){
1111 for (
int js=0; js<
Nd; js++){
1112 for (
int ks=0; ks<
Nd; ks++){
1113 for (
int ls=0; ls<
Nd; ls++){
1114 tmpSpin = peekSpin(S1tilde,is,js) * peekSpin(S2tilde,ks,ls);
1116 for (
int ic=0; ic<Nc; ic++){
1117 for (
int kc=0; kc<Nc; kc++){
1118 for (
int lc=0;
lc<Nc;
lc++){
1119 if (ic != kc && ic !=
lc && kc !=
lc)
1122 for (
int jc=0; jc<Nc; jc++){
1123 for (
int mc=0; mc<Nc; mc++){
1124 for (
int nc=0; nc<Nc; nc++){
1126 if (jc != mc && jc != nc && mc != nc)
1128 c3res = - BzU1zU1z0zCgjj(
t,jc,mc,nc,ks,ls)*BzU2zU2zRzCgii(
t,ic,kc,
lc,is,js) +
1129 BzU1zU1z0zCgjj(
t,mc,jc,nc,ls,ks)*BzU2zU2zRzCgii(
t,ic,kc,
lc,is,js) +
1130 BzU1zU1z0zCgjj(
t,jc,mc,nc,ks,ls)*BzU2zU2zRzCgii(
t,kc,ic,
lc,js,is) -
1131 BzU1zU1z0zCgjj(
t,mc,jc,nc,ls,ks)*BzU2zU2zRzCgii(
t,kc,ic,
lc,js,is) -
1132 BzU1zU3z0zCgjj(
t,mc,kc,nc,ls,js)*BzU2zU4zRzCgii(
t,ic,jc,
lc,is,ks) +
1133 BzU1zU3z0zCgjj(
t,jc,kc,nc,ks,js)*BzU2zU4zRzCgii(
t,ic,mc,
lc,is,ls) +
1134 BzU1zU3z0zCgjj(
t,mc,ic,nc,ls,is)*BzU2zU4zRzCgii(
t,kc,jc,
lc,js,ks) -
1135 BzU1zU3z0zCgjj(
t,jc,ic,nc,ks,is)*BzU2zU4zRzCgii(
t,kc,mc,
lc,js,ls) +
1136 BzU2zU4zRzCgii(
t,kc,mc,
lc,js,ls)*BzU3zU1z0zCgjj(
t,ic,jc,nc,is,ks) -
1137 BzU2zU4zRzCgii(
t,kc,jc,
lc,js,ks)*BzU3zU1z0zCgjj(
t,ic,mc,nc,is,ls) -
1138 BzU2zU4zRzCgii(
t,ic,mc,
lc,is,ls)*BzU3zU1z0zCgjj(
t,kc,jc,nc,js,ks) +
1139 BzU2zU4zRzCgii(
t,ic,jc,
lc,is,ks)*BzU3zU1z0zCgjj(
t,kc,mc,nc,js,ls) +
1140 BzU1zU3z0zCgjj(
t,mc,kc,nc,ls,js)*BzU4zU2zRzCgii(
t,jc,ic,
lc,ks,is) -
1141 BzU3zU1z0zCgjj(
t,kc,mc,nc,js,ls)*BzU4zU2zRzCgii(
t,jc,ic,
lc,ks,is) -
1142 BzU1zU3z0zCgjj(
t,mc,ic,nc,ls,is)*BzU4zU2zRzCgii(
t,jc,kc,
lc,ks,js) +
1143 BzU3zU1z0zCgjj(
t,ic,mc,nc,is,ls)*BzU4zU2zRzCgii(
t,jc,kc,
lc,ks,js) -
1144 BzU1zU3z0zCgjj(
t,jc,kc,nc,ks,js)*BzU4zU2zRzCgii(
t,mc,ic,
lc,ls,is) +
1145 BzU3zU1z0zCgjj(
t,kc,jc,nc,js,ks)*BzU4zU2zRzCgii(
t,mc,ic,
lc,ls,is) +
1146 BzU1zU3z0zCgjj(
t,jc,ic,nc,ks,is)*BzU4zU2zRzCgii(
t,mc,kc,
lc,ls,js) -
1147 BzU3zU1z0zCgjj(
t,ic,jc,nc,is,ks)*BzU4zU2zRzCgii(
t,mc,kc,
lc,ls,js) -
1148 BzU3zU3z0zCgjj(
t,ic,kc,nc,is,js)*BzU4zU4zRzCgii(
t,jc,mc,
lc,ks,ls) +
1149 BzU3zU3z0zCgjj(
t,kc,ic,nc,js,is)*BzU4zU4zRzCgii(
t,jc,mc,
lc,ks,ls) +
1150 BzU3zU3z0zCgjj(
t,ic,kc,nc,is,js)*BzU4zU4zRzCgii(
t,mc,jc,
lc,ls,ks) -
1151 BzU3zU3z0zCgjj(
t,kc,ic,nc,js,is)*BzU4zU4zRzCgii(
t,mc,jc,
lc,ls,ks);
1165 result[
t] += tmpSpin * c1res;
1178 const SpinMatrix& S1,
const SpinMatrix& S2)
1184 int length=BzD1zD1z0zCgjj.
length();
1185 multi1d<DComplex> result;
1186 result.resize(length);
1188 SpinMatrix S1tilde, S2tilde;
1190 S1tilde = Gamma(8) * adj(S1) * Gamma(8);
1191 S2tilde = Gamma(8) * adj(S2) * Gamma(8);
1193 DComplex tmpSpin, c2res, c1res, c3res;
1196 for (
int t=0;
t<length;
t++){
1197 for (
int is=0; is<
Nd; is++){
1198 for (
int js=0; js<
Nd; js++){
1199 for (
int ks=0; ks<
Nd; ks++){
1200 for (
int ls=0; ls<
Nd; ls++){
1201 tmpSpin = peekSpin(S1tilde,is,js) * peekSpin(S2tilde,ks,ls);
1203 for (
int ic=0; ic<Nc; ic++){
1204 for (
int kc=0; kc<Nc; kc++){
1205 for (
int lc=0;
lc<Nc;
lc++){
1206 if (ic != kc && ic !=
lc && kc !=
lc)
1209 for (
int jc=0; jc<Nc; jc++){
1210 for (
int mc=0; mc<Nc; mc++){
1211 for (
int nc=0; nc<Nc; nc++){
1213 if (jc != mc && jc != nc && mc != nc)
1215 c3res = -(BzD1zD1z0zCgjj(
t,jc,mc,nc,ks,ls)*BzU2zU2zRzCgii(
t,ic,kc,
lc,is,js)) +
1216 BzD1zD1z0zCgjj(
t,mc,jc,nc,ls,ks)*BzU2zU2zRzCgii(
t,ic,kc,
lc,is,js) +
1217 BzD1zD1z0zCgjj(
t,jc,mc,nc,ks,ls)*BzU2zU2zRzCgii(
t,kc,ic,
lc,js,is) -
1218 BzD1zD1z0zCgjj(
t,mc,jc,nc,ls,ks)*BzU2zU2zRzCgii(
t,kc,ic,
lc,js,is);
1231 result[
t] += tmpSpin * c1res;
1244 const SpinMatrix& S1,
const SpinMatrix& S2)
1250 int length=BzU1zD3z0zCG5.
length();
1251 multi1d<DComplex> result;
1252 result.resize(length);
1254 SpinMatrix S1tilde, S2tilde;
1256 S1tilde = Gamma(8) * adj(S1) * Gamma(8);
1257 S2tilde = Gamma(8) * adj(S2) * Gamma(8);
1259 DComplex tmpSpin, c2res, c1res, c3res;
1262 for (
int t=0;
t<length;
t++){
1263 for (
int is=0; is<
Nd; is++){
1264 for (
int js=0; js<
Nd; js++){
1265 for (
int ks=0; ks<
Nd; ks++){
1266 for (
int ls=0; ls<
Nd; ls++){
1267 tmpSpin = peekSpin(S1tilde,is,js) * peekSpin(S2tilde,ks,ls);
1269 for (
int ic=0; ic<Nc; ic++){
1270 for (
int kc=0; kc<Nc; kc++){
1271 for (
int lc=0;
lc<Nc;
lc++){
1272 if (ic != kc && ic !=
lc && kc !=
lc)
1275 for (
int jc=0; jc<Nc; jc++){
1276 for (
int mc=0; mc<Nc; mc++){
1277 for (
int nc=0; nc<Nc; nc++){
1279 if (jc != mc && jc != nc && mc != nc)
1282 BzU1zD3z0zCG5(
t,mc,kc,nc,ls,js)*BzU2zU4zRzCGii(
t,ic,jc,
lc,is,ks) -
1283 BzU1zD3z0zCG5(
t,jc,kc,nc,ks,js)*BzU2zU4zRzCGii(
t,ic,mc,
lc,is,ls) -
1284 BzU1zD3z0zCG5(
t,mc,kc,nc,ls,js)*BzU4zU2zRzCGii(
t,jc,ic,
lc,ks,is) +
1285 BzU1zD3z0zCG5(
t,jc,kc,nc,ks,js)*BzU4zU2zRzCGii(
t,mc,ic,
lc,ls,is) +
1286 BzU3zD3z0zCG5(
t,ic,kc,nc,is,js)*BzU4zU4zRzCGii(
t,jc,mc,
lc,ks,ls) -
1287 BzU3zD3z0zCG5(
t,ic,kc,nc,is,js)*BzU4zU4zRzCGii(
t,mc,jc,
lc,ls,ks);
1300 result[
t] += tmpSpin * c1res;
1313 const SpinMatrix& mesonS1,
const SpinMatrix& baryonS2)
1319 int length=BzU1zD1z0zCG5.
length();
1320 multi1d<DComplex> result;
1321 result.resize(length);
1323 SpinMatrix S1tilde,S2tilde;
1326 S2tilde = Gamma(8) * adj(baryonS2) * Gamma(8);
1328 DComplex tmpSpin, c2res, c1res;
1331 for (
int t=0;
t<length;
t++){
1332 for (
int is=0; is<
Nd; is++){
1333 for (
int js=0; js<
Nd; js++){
1334 for (
int ks=0; ks<
Nd; ks++){
1335 for (
int ls=0; ls<
Nd; ls++){
1336 tmpSpin = peekSpin(S1tilde,ks,ls) * peekSpin(S2tilde,is,js);
1338 for (
int ic=0; ic<Nc; ic++){
1339 for (
int kc=0; kc<Nc; kc++){
1340 for (
int lc=0;
lc<Nc;
lc++){
1341 if (ic != kc && ic !=
lc && kc !=
lc)
1344 for (
int jc=0; jc<Nc; jc++){
1345 c2res += -BzU1zD1z0zCG5(
t,ic,kc,
lc,is,js)*HzU2zRzG5(
t,jc,jc,ls,ks) +
1346 BzU3zD1z0zCG5(
t,jc,kc,
lc,ks,js)*HzU4zRzG5(
t,jc,ic,ls,is);
1354 result[
t] += tmpSpin * c1res;
1368 const SpinMatrix& mesonS1,
const SpinMatrix& baryonS2)
1374 int length=BzU1zU1z0zCGi.
length();
1375 multi1d<DComplex> result;
1376 result.resize(length);
1378 SpinMatrix S1tilde,S2tilde;
1380 S2tilde = Gamma(8) * adj(baryonS2) * Gamma(8);
1382 DComplex tmpSpin, c2res, c1res;
1385 for (
int t=0;
t<length;
t++){
1386 for (
int is=0; is<
Nd; is++){
1387 for (
int js=0; js<
Nd; js++){
1388 for (
int ks=0; ks<
Nd; ks++){
1389 for (
int ls=0; ls<
Nd; ls++){
1390 tmpSpin = peekSpin(S1tilde,ks,ls) * peekSpin(S2tilde,is,js);
1392 for (
int ic=0; ic<Nc; ic++){
1393 for (
int kc=0; kc<Nc; kc++){
1394 for (
int lc=0;
lc<Nc;
lc++){
1395 if (ic != kc && ic !=
lc && kc !=
lc)
1398 for (
int jc=0; jc<Nc; jc++){
1399 c2res += -BzU1zU1z0zCGi(
t,ic,kc,
lc,is,js)*HzU2zRzG5(
t,jc,jc,ls,ks) +
1400 BzU1zU1z0zCGi(
t,kc,ic,
lc,js,is)*HzU2zRzG5(
t,jc,jc,ls,ks) -
1401 BzU1zU3z0zCGi(
t,kc,jc,
lc,js,ks)*HzU4zRzG5(
t,jc,ic,ls,is) +
1402 BzU3zU1z0zCGi(
t,jc,kc,
lc,ks,js)*HzU4zRzG5(
t,jc,ic,ls,is) +
1403 BzU1zU3z0zCGi(
t,ic,jc,
lc,is,ks)*HzU4zRzG5(
t,jc,kc,ls,js) -
1404 BzU3zU1z0zCGi(
t,jc,ic,
lc,ks,is)*HzU4zRzG5(
t,jc,kc,ls,js);
1412 result[
t] += tmpSpin * c1res;
1424 const SpinMatrix& mesonS1,
const SpinMatrix& baryonS2)
1430 int length=BzU1zU1z0zCGi.
length();
1431 multi1d<DComplex> result;
1432 result.resize(length);
1434 SpinMatrix S1tilde,S2tilde;
1436 S2tilde = Gamma(8) * adj(baryonS2) * Gamma(8);
1438 DComplex tmpSpin, c2res, c1res;
1441 for (
int t=0;
t<length;
t++){
1442 for (
int is=0; is<
Nd; is++){
1443 for (
int js=0; js<
Nd; js++){
1444 for (
int ks=0; ks<
Nd; ks++){
1445 for (
int ls=0; ls<
Nd; ls++){
1446 tmpSpin = peekSpin(S1tilde,ks,ls) * peekSpin(S2tilde,is,js);
1448 for (
int ic=0; ic<Nc; ic++){
1449 for (
int kc=0; kc<Nc; kc++){
1450 for (
int lc=0;
lc<Nc;
lc++){
1451 if (ic != kc && ic !=
lc && kc !=
lc)
1454 for (
int jc=0; jc<Nc; jc++){
1455 c2res += (BzU1zU1z0zCGi(
t,kc,ic,
lc,js,is)-BzU1zU1z0zCGi(
t,ic,kc,
lc,is,js))*HzD2zRzG5(
t,jc,jc,ls,ks);
1462 result[
t] += tmpSpin * c1res;
1477 const SpinMatrix& S1,
const SpinMatrix& S2)
1483 int length=HzU3z0zG5.
length();
1484 multi1d<DComplex> result;
1485 result.resize(length);
1487 DComplex tmpSpin, c1res;
1491 for (
int t=0;
t<length;
t++){
1492 for (
int is=0; is<
Nd; is++){
1493 for (
int js=0; js<
Nd; js++){
1494 for (
int ks=0; ks<
Nd; ks++){
1495 for (
int ls=0; ls<
Nd; ls++){
1496 tmpSpin = peekSpin(S1,is,js) * peekSpin(S2,ks,ls);
1498 for (
int ic=0; ic<Nc; ic++){
1499 for (
int jc=0; jc<Nc; jc++){
1500 c1res += HzU1z0zG5(
t,ic,ic,js,is)*HzU2zRzG5(
t,jc,jc,ls,ks);
1501 c1res -= HzU3z0zG5(
t,ic,jc,js,ks)*HzU4zRzG5(
t,jc,ic,ls,is);
1504 result[
t] += tmpSpin * c1res;
1515 const SpinMatrix& S1,
const SpinMatrix& S2)
1520 int length=HzD2zRzG5.
length();
1521 multi1d<DComplex> result;
1522 result.resize(length);
1524 DComplex tmpSpin, c1res;
1527 for (
int t=0;
t<length;
t++){
1528 for (
int is=0; is<
Nd; is++){
1529 for (
int js=0; js<
Nd; js++){
1530 for (
int ks=0; ks<
Nd; ks++){
1531 for (
int ls=0; ls<
Nd; ls++){
1532 tmpSpin = peekSpin(S1,is,js) * peekSpin(S2,ks,ls);
1534 for (
int ic=0; ic<Nc; ic++){
1535 for (
int jc=0; jc<Nc; jc++){
1536 c1res += HzD2zRzG5(
t,jc,jc,ls,ks)*HzU1z0zG5(
t,ic,ic,js,is);
1539 result[
t] += tmpSpin * c1res;
1553 const SpinMatrix& S1)
1556 int length=BzU1zD1z0zCG5.
length();
1557 multi1d<DComplex> result;
1558 result.resize(length);
1562 S1tilde = Gamma(8) * adj(S1) * Gamma(8);
1564 DComplex tmpSpin, c1res;
1567 for (
int t=0;
t<length;
t++){
1569 for (
int is=0; is<
Nd; is++){
1570 for (
int js=0; js<
Nd; js++){
1571 tmpSpin = peekSpin(S1tilde,is,js);
1573 for (
int ic=0; ic<Nc; ic++){
1574 for (
int kc=0; kc<Nc; kc++){
1575 for (
int lc=0;
lc<Nc;
lc++){
1576 if (ic != kc && ic !=
lc && kc !=
lc)
1583 result[
t] += tmpSpin * c1res;
1591 const SpinMatrix& S1)
1594 int length=BzU1zU1z0zCGi.
length();
1595 multi1d<DComplex> result;
1596 result.resize(length);
1600 S1tilde = Gamma(8) * adj(S1) * Gamma(8);
1602 DComplex tmpSpin, c1res;
1605 for (
int t=0;
t<length;
t++){
1606 for (
int is=0; is<
Nd; is++){
1607 for (
int js=0; js<
Nd; js++){
1608 tmpSpin = peekSpin(S1tilde,is,js);
1610 for (
int ic=0; ic<Nc; ic++){
1611 for (
int kc=0; kc<Nc; kc++){
1612 for (
int lc=0;
lc<Nc;
lc++){
1613 if (ic != kc && ic !=
lc && kc !=
lc)
1615 c1res += (-BzU1zU1z0zCGi(
t,ic,kc,
lc,is,js) + BzU1zU1z0zCGi(
t,kc,ic,
lc,js,is))
1621 result[
t] += tmpSpin * c1res;
1629 const SpinMatrix& S1)
1633 int size= H1.
size();
1634 multi1d<DComplex> result;
1635 result.resize(length);
1637 DComplex tmpSpin, c1res;
1640 for (
int t=0;
t<length;
t++){
1641 for (
int is=0; is<
Nd; is++){
1642 for (
int js=0; js<
Nd; js++){
1643 tmpSpin = peekSpin(S1,is,js);
1645 for (
int ic=0; ic<Nc; ic++){
1646 c1res += H1(
t,ic,ic,js,is) ;
1648 result[
t] += tmpSpin * c1res;
1673 SpinMatrix g_one = 1.0;
1674 SpinMatrix
Cg5 = g_one * Gamma(5);
1675 SpinMatrix Cg3 = - g_one * Gamma(14);
1676 SpinMatrix Cgminus = g_one * Gamma(11) + timesI(g_one * Gamma(8));
1677 SpinMatrix Cgplus = g_one * Gamma(11) + timesMinusI(g_one * Gamma(8));
1679 int length = BzU1zD1z0zCgplus.
length();
1680 multi2d<DComplex> c4J2result;
1681 c4J2result.resize(9,length);
1683 multi1d<DComplex> cJ2m2(length), cJ2m1(length), cJ2m0(length), cJ2mneg1(length), cJ2mneg2(length);
1684 multi1d<DComplex> cJ1m1(length), cJ1m0(length), cJ1mneg1(length), cJ0m0(length);
1695 multi1d<DComplex> c11_11(length);
1696 c11_11 =
c4contract(BzU1zD1z0zCgplus, BzU2zU2zRzCgplus,
1697 BzU2zU4zRzCgplus, BzU3zD1z0zCgplus,
1703 multi1d<DComplex> c10_10(length), c10_01(length), c01_10(length), c01_01(length);
1704 c10_10 =
c4contract(BzU1zD1z0zCgplus, BzU2zU2zRzCg3,
1705 BzU2zU4zRzCg3, BzU3zD1z0zCgplus,
1708 c10_01 =
c4contract(BzU1zD1z0zCgplus, BzU2zU2zRzCg3,
1709 BzU2zU4zRzCg3, BzU3zD1z0zCgplus,
1712 c01_10 =
c4contract(BzU1zD1z0zCg3, BzU2zU2zRzCgplus,
1713 BzU2zU4zRzCgplus, BzU3zD1z0zCg3,
1716 c01_01 =
c4contract(BzU1zD1z0zCg3, BzU2zU2zRzCgplus,
1717 BzU2zU4zRzCgplus, BzU3zD1z0zCg3,
1723 multi1d<DComplex> c1m1_1m1(length), c1m1_00(length), c1m1_m11(length);
1724 multi1d<DComplex> c00_1m1(length), c00_00(length), c00_m11(length);
1725 multi1d<DComplex> cm11_1m1(length), cm11_00(length), cm11_m11(length);
1726 c1m1_1m1 =
c4contract(BzU1zD1z0zCgplus, BzU2zU2zRzCgminus,
1727 BzU2zU4zRzCgminus, BzU3zD1z0zCgplus,
1730 c1m1_00 =
c4contract(BzU1zD1z0zCgplus, BzU2zU2zRzCgminus,
1731 BzU2zU4zRzCgminus, BzU3zD1z0zCgplus,
1734 c1m1_m11 =
c4contract(BzU1zD1z0zCgplus, BzU2zU2zRzCgminus,
1735 BzU2zU4zRzCgminus, BzU3zD1z0zCgplus,
1738 c00_1m1 =
c4contract(BzU1zD1z0zCg3, BzU2zU2zRzCg3,
1739 BzU2zU4zRzCg3, BzU3zD1z0zCg3,
1742 c00_00 =
c4contract(BzU1zD1z0zCg3, BzU2zU2zRzCg3,
1743 BzU2zU4zRzCg3, BzU3zD1z0zCg3,
1746 c00_m11 =
c4contract(BzU1zD1z0zCg3, BzU2zU2zRzCg3,
1747 BzU2zU4zRzCg3, BzU3zD1z0zCg3,
1750 cm11_1m1 =
c4contract(BzU1zD1z0zCgminus, BzU2zU2zRzCgplus,
1751 BzU2zU4zRzCgplus, BzU3zD1z0zCgminus,
1754 cm11_00 =
c4contract(BzU1zD1z0zCgminus, BzU2zU2zRzCgplus,
1755 BzU2zU4zRzCgplus, BzU3zD1z0zCgminus,
1758 cm11_m11 =
c4contract(BzU1zD1z0zCgminus, BzU2zU2zRzCgplus,
1759 BzU2zU4zRzCgplus, BzU3zD1z0zCgminus,
1766 multi1d<DComplex> cm10_m10(length), cm10_0m1(length), c0m1_m10(length), c0m1_0m1(length);
1767 cm10_m10 =
c4contract(BzU1zD1z0zCgminus, BzU2zU2zRzCg3,
1768 BzU2zU4zRzCg3, BzU3zD1z0zCgminus,
1771 cm10_0m1 =
c4contract(BzU1zD1z0zCgminus, BzU2zU2zRzCg3,
1772 BzU2zU4zRzCg3, BzU3zD1z0zCgminus,
1775 c0m1_m10 =
c4contract(BzU1zD1z0zCg3, BzU2zU2zRzCgminus,
1776 BzU2zU4zRzCgminus, BzU3zD1z0zCg3,
1779 c0m1_0m1 =
c4contract(BzU1zD1z0zCg3, BzU2zU2zRzCgminus,
1780 BzU2zU4zRzCgminus, BzU3zD1z0zCg3,
1786 multi1d<DComplex> cm1m1_m1m1(length);
1787 cm1m1_m1m1 =
c4contract(BzU1zD1z0zCgminus, BzU2zU2zRzCgminus,
1788 BzU2zU4zRzCgminus, BzU3zD1z0zCgminus,
1797 for (
int t=0;
t < length;
t++) {
1798 cJ2m2[
t] = c11_11[
t];
1799 cJ2m1[
t] = (c01_01[
t] + c01_10[
t] + c10_01[
t] + c10_10[
t]) /2.;
1800 cJ1m1[
t] = (c01_01[
t] - c01_10[
t] - c10_01[
t] + c10_10[
t]) /2.;
1801 cJ2m0[
t] = (cm11_m11[
t] + 2 * cm11_00[
t] + cm11_1m1[
t]
1802 + 2 * c00_m11[
t] + 4 * c00_00[
t] + 2 * c00_1m1[
t]
1803 + c1m1_m11[
t] + 2 * c1m1_00[
t] + c1m1_1m1[
t])/6.;
1804 cJ1m0[
t] = (cm11_m11[
t] - cm11_1m1[
t] - c1m1_m11[
t] + c1m1_1m1[
t])/2.;
1805 cJ0m0[
t] = (cm11_m11[
t] - cm11_00[
t] + cm11_1m1[
t]
1806 - c00_m11[
t] + c00_00[
t] - c00_1m1[
t]
1807 + c1m1_m11[
t] - c1m1_00[
t] + c1m1_1m1[
t])/3.;
1808 cJ2mneg1[
t] = (c0m1_0m1[
t] + c0m1_m10[
t] + cm10_0m1[
t] + cm10_m10[
t])/2.;
1809 cJ1mneg1[
t] = (c0m1_0m1[
t] - c0m1_m10[
t] - cm10_0m1[
t] + cm10_m10[
t])/2.;
1810 cJ2mneg2[
t] = cm1m1_m1m1[
t];
1812 c4J2result[0][
t] = cJ2m2[
t];
1813 c4J2result[1][
t] = cJ2m1[
t];
1814 c4J2result[2][
t] = cJ2m0[
t];
1815 c4J2result[3][
t] = cJ2mneg1[
t];
1816 c4J2result[4][
t] = cJ2mneg2[
t];
1817 c4J2result[5][
t] = cJ1m1[
t];;
1818 c4J2result[6][
t] = cJ1m0[
t];
1819 c4J2result[7][
t] = cJ1mneg1[
t];
1820 c4J2result[8][
t] = cJ0m0[
t];
1850 SpinMatrix g_one = 1.0;
1851 SpinMatrix
Cg5 = g_one * Gamma(5);
1852 SpinMatrix Cg3 = - g_one * Gamma(14);
1853 SpinMatrix Cgminus = g_one * Gamma(11) + timesI(g_one * Gamma(8));
1854 SpinMatrix Cgplus = g_one * Gamma(11) + timesMinusI(g_one * Gamma(8));
1856 int length = BzU1zU1z0zCgplus.
length();
1857 multi2d<DComplex> c5J2result;
1858 c5J2result.resize(9,length);
1860 multi1d<DComplex> cJ2m2(length), cJ2m1(length), cJ2m0(length), cJ2mneg1(length), cJ2mneg2(length);
1861 multi1d<DComplex> cJ1m1(length), cJ1m0(length), cJ1mneg1(length), cJ0m0(length);
1870 multi1d<DComplex> c11_11(length);
1871 c11_11 =
c5contract( BzU1zU1z0zCgplus, BzU1zU3z0zCgplus,
1872 BzU2zU2zRzCgplus, BzU2zU4zRzCgplus,
1873 BzU3zU1z0zCgplus, BzU3zU3z0zCgplus,
1874 BzU4zU2zRzCgplus, BzU4zU4zRzCgplus,
1879 multi1d<DComplex> c10_10(length), c10_01(length), c01_10(length), c01_01(length);
1880 c10_10 =
c5contract( BzU1zU1z0zCgplus, BzU1zU3z0zCgplus,
1881 BzU2zU2zRzCg3, BzU2zU4zRzCg3,
1882 BzU3zU1z0zCgplus, BzU3zU3z0zCgplus,
1883 BzU4zU2zRzCg3, BzU4zU4zRzCg3,
1885 c10_01 =
c5contract( BzU1zU1z0zCgplus, BzU1zU3z0zCgplus,
1886 BzU2zU2zRzCg3, BzU2zU4zRzCg3,
1887 BzU3zU1z0zCgplus, BzU3zU3z0zCgplus,
1888 BzU4zU2zRzCg3, BzU4zU4zRzCg3,
1890 c01_10 =
c5contract( BzU1zU1z0zCg3, BzU1zU3z0zCg3,
1891 BzU2zU2zRzCgplus, BzU2zU4zRzCgplus,
1892 BzU3zU1z0zCg3, BzU3zU3z0zCg3,
1893 BzU4zU2zRzCgplus, BzU4zU4zRzCgplus,
1895 c01_01 =
c5contract( BzU1zU1z0zCg3, BzU1zU3z0zCg3,
1896 BzU2zU2zRzCgplus, BzU2zU4zRzCgplus,
1897 BzU3zU1z0zCg3, BzU3zU3z0zCg3,
1898 BzU4zU2zRzCgplus, BzU4zU4zRzCgplus,
1903 multi1d<DComplex> c1m1_1m1(length), c1m1_00(length), c1m1_m11(length);
1904 multi1d<DComplex> c00_1m1(length), c00_00(length), c00_m11(length);
1905 multi1d<DComplex> cm11_1m1(length), cm11_00(length), cm11_m11(length);
1906 c1m1_1m1 =
c5contract( BzU1zU1z0zCgplus, BzU1zU3z0zCgplus,
1907 BzU2zU2zRzCgminus, BzU2zU4zRzCgminus,
1908 BzU3zU1z0zCgplus, BzU3zU3z0zCgplus,
1909 BzU4zU2zRzCgminus, BzU4zU4zRzCgminus,
1911 c1m1_00 =
c5contract( BzU1zU1z0zCgplus, BzU1zU3z0zCgplus,
1912 BzU2zU2zRzCgminus, BzU2zU4zRzCgminus,
1913 BzU3zU1z0zCgplus, BzU3zU3z0zCgplus,
1914 BzU4zU2zRzCgminus, BzU4zU4zRzCgminus,
1916 c1m1_m11 =
c5contract( BzU1zU1z0zCgplus, BzU1zU3z0zCgplus,
1917 BzU2zU2zRzCgminus, BzU2zU4zRzCgminus,
1918 BzU3zU1z0zCgplus, BzU3zU3z0zCgplus,
1919 BzU4zU2zRzCgminus, BzU4zU4zRzCgminus,
1921 c00_1m1 =
c5contract( BzU1zU1z0zCg3, BzU1zU3z0zCg3,
1922 BzU2zU2zRzCg3, BzU2zU4zRzCg3,
1923 BzU3zU1z0zCg3, BzU3zU3z0zCg3,
1924 BzU4zU2zRzCg3, BzU4zU4zRzCg3,
1926 c00_00 =
c5contract( BzU1zU1z0zCg3, BzU1zU3z0zCg3,
1927 BzU2zU2zRzCg3, BzU2zU4zRzCg3,
1928 BzU3zU1z0zCg3, BzU3zU3z0zCg3,
1929 BzU4zU2zRzCg3, BzU4zU4zRzCg3,
1931 c00_m11 =
c5contract( BzU1zU1z0zCg3, BzU1zU3z0zCg3,
1932 BzU2zU2zRzCg3, BzU2zU4zRzCg3,
1933 BzU3zU1z0zCg3, BzU3zU3z0zCg3,
1934 BzU4zU2zRzCg3, BzU4zU4zRzCg3,
1936 cm11_1m1 =
c5contract( BzU1zU1z0zCgminus, BzU1zU3z0zCgminus,
1937 BzU2zU2zRzCgplus, BzU2zU4zRzCgplus,
1938 BzU3zU1z0zCgminus, BzU3zU3z0zCgminus,
1939 BzU4zU2zRzCgplus, BzU4zU4zRzCgplus,
1941 cm11_00 =
c5contract( BzU1zU1z0zCgminus, BzU1zU3z0zCgminus,
1942 BzU2zU2zRzCgplus, BzU2zU4zRzCgplus,
1943 BzU3zU1z0zCgminus, BzU3zU3z0zCgminus,
1944 BzU4zU2zRzCgplus, BzU4zU4zRzCgplus,
1946 cm11_m11 =
c5contract( BzU1zU1z0zCgminus, BzU1zU3z0zCgminus,
1947 BzU2zU2zRzCgplus, BzU2zU4zRzCgplus,
1948 BzU3zU1z0zCgminus, BzU3zU3z0zCgminus,
1949 BzU4zU2zRzCgplus, BzU4zU4zRzCgplus,
1955 multi1d<DComplex> cm10_m10(length), cm10_0m1(length), c0m1_m10(length), c0m1_0m1(length);
1956 cm10_m10 =
c5contract( BzU1zU1z0zCgminus, BzU1zU3z0zCgminus,
1957 BzU2zU2zRzCg3, BzU2zU4zRzCg3,
1958 BzU3zU1z0zCgminus, BzU3zU3z0zCgminus,
1959 BzU4zU2zRzCg3, BzU4zU4zRzCg3,
1961 cm10_0m1 =
c5contract( BzU1zU1z0zCgminus, BzU1zU3z0zCgminus,
1962 BzU2zU2zRzCg3, BzU2zU4zRzCg3,
1963 BzU3zU1z0zCgminus, BzU3zU3z0zCgminus,
1964 BzU4zU2zRzCg3, BzU4zU4zRzCg3,
1966 c0m1_m10 =
c5contract( BzU1zU1z0zCg3, BzU1zU3z0zCg3,
1967 BzU2zU2zRzCgminus, BzU2zU4zRzCgminus,
1968 BzU3zU1z0zCg3, BzU3zU3z0zCg3,
1969 BzU4zU2zRzCgminus, BzU4zU4zRzCgminus,
1971 c0m1_0m1 =
c5contract( BzU1zU1z0zCg3, BzU1zU3z0zCg3,
1972 BzU2zU2zRzCgminus, BzU2zU4zRzCgminus,
1973 BzU3zU1z0zCg3, BzU3zU3z0zCg3,
1974 BzU4zU2zRzCgminus, BzU4zU4zRzCgminus,
1979 multi1d<DComplex> cm1m1_m1m1(length);
1980 cm1m1_m1m1 =
c5contract( BzU1zU1z0zCgminus, BzU1zU3z0zCgminus,
1981 BzU2zU2zRzCgminus, BzU2zU4zRzCgminus,
1982 BzU3zU1z0zCgminus, BzU3zU3z0zCgminus,
1983 BzU4zU2zRzCgminus, BzU4zU4zRzCgminus,
1991 for (
int t=0;
t < length;
t++) {
1992 cJ2m2[
t] = c11_11[
t];
1993 cJ2m1[
t] = (c01_01[
t] + c01_10[
t] + c10_01[
t] + c10_10[
t]) /2.;
1994 cJ1m1[
t] = (c01_01[
t] - c01_10[
t] - c10_01[
t] + c10_10[
t]) /2.;
1995 cJ2m0[
t] = (cm11_m11[
t] + 2 * cm11_00[
t] + cm11_1m1[
t]
1996 + 2 * c00_m11[
t] + 4 * c00_00[
t] + 2 * c00_1m1[
t]
1997 + c1m1_m11[
t] + 2 * c1m1_00[
t] + c1m1_1m1[
t])/6.;
1998 cJ1m0[
t] = (cm11_m11[
t] - cm11_1m1[
t] - c1m1_m11[
t] + c1m1_1m1[
t])/2.;
1999 cJ0m0[
t] = (cm11_m11[
t] - cm11_00[
t] + cm11_1m1[
t]
2000 - c00_m11[
t] + c00_00[
t] - c00_1m1[
t]
2001 + c1m1_m11[
t] - c1m1_00[
t] + c1m1_1m1[
t])/3.;
2002 cJ2mneg1[
t] = (c0m1_0m1[
t] + c0m1_m10[
t] + cm10_0m1[
t] + cm10_m10[
t])/2.;
2003 cJ1mneg1[
t] = (c0m1_0m1[
t] - c0m1_m10[
t] - cm10_0m1[
t] + cm10_m10[
t])/2.;
2004 cJ2mneg2[
t] = cm1m1_m1m1[
t];
2006 c5J2result[0][
t] = cJ2m2[
t];
2007 c5J2result[1][
t] = cJ2m1[
t];
2008 c5J2result[2][
t] = cJ2m0[
t];
2009 c5J2result[3][
t] = cJ2mneg1[
t];
2010 c5J2result[4][
t] = cJ2mneg2[
t];
2011 c5J2result[5][
t] = cJ1m1[
t];;
2012 c5J2result[6][
t] = cJ1m0[
t];
2013 c5J2result[7][
t] = cJ1mneg1[
t];
2014 c5J2result[8][
t] = cJ0m0[
t];
2033 SpinMatrix g_one = 1.0;
2034 SpinMatrix
Cg5 = g_one * Gamma(5);
2035 SpinMatrix Cg3 = - g_one * Gamma(14);
2036 SpinMatrix Cgminus = g_one * Gamma(11) + timesI(g_one * Gamma(8));
2037 SpinMatrix Cgplus = g_one * Gamma(11) + timesMinusI(g_one * Gamma(8));
2039 int length = BzD1zD1z0zCgplus.
length();
2040 multi2d<DComplex> c6J2result;
2041 c6J2result.resize(9,length);
2043 multi1d<DComplex> cJ2m2(length), cJ2m1(length), cJ2m0(length), cJ2mneg1(length), cJ2mneg2(length);
2044 multi1d<DComplex> cJ1m1(length), cJ1m0(length), cJ1mneg1(length), cJ0m0(length);
2053 multi1d<DComplex> c11_11(length);
2054 c11_11 =
c6contract( BzD1zD1z0zCgplus, BzU2zU2zRzCgplus,
2058 multi1d<DComplex> c10_10(length), c10_01(length), c01_10(length), c01_01(length);
2059 c10_10 =
c6contract( BzD1zD1z0zCgplus, BzU2zU2zRzCg3,
2061 c10_01 =
c6contract( BzD1zD1z0zCgplus, BzU2zU2zRzCg3,
2063 c01_10 =
c6contract( BzD1zD1z0zCg3, BzU2zU2zRzCgplus,
2065 c01_01 =
c6contract( BzD1zD1z0zCg3, BzU2zU2zRzCgplus,
2069 multi1d<DComplex> c1m1_1m1(length), c1m1_00(length), c1m1_m11(length);
2070 multi1d<DComplex> c00_1m1(length), c00_00(length), c00_m11(length);
2071 multi1d<DComplex> cm11_1m1(length), cm11_00(length), cm11_m11(length);
2072 c1m1_1m1 =
c6contract( BzD1zD1z0zCgplus, BzU2zU2zRzCgminus,
2074 c1m1_00 =
c6contract( BzD1zD1z0zCgplus, BzU2zU2zRzCgminus,
2076 c1m1_m11 =
c6contract( BzD1zD1z0zCgplus, BzU2zU2zRzCgminus,
2078 c00_1m1 =
c6contract( BzD1zD1z0zCg3, BzU2zU2zRzCg3,
2080 c00_00 =
c6contract( BzD1zD1z0zCg3, BzU2zU2zRzCg3,
2082 c00_m11 =
c6contract( BzD1zD1z0zCg3, BzU2zU2zRzCg3,
2084 cm11_1m1 =
c6contract( BzD1zD1z0zCgminus, BzU2zU2zRzCgplus,
2086 cm11_00 =
c6contract( BzD1zD1z0zCgminus, BzU2zU2zRzCgplus,
2088 cm11_m11 =
c6contract( BzD1zD1z0zCgminus, BzU2zU2zRzCgplus,
2092 multi1d<DComplex> cm10_m10(length), cm10_0m1(length), c0m1_m10(length), c0m1_0m1(length);
2093 cm10_m10 =
c6contract( BzD1zD1z0zCgminus, BzU2zU2zRzCg3,
2095 cm10_0m1 =
c6contract( BzD1zD1z0zCgminus, BzU2zU2zRzCg3,
2097 c0m1_m10 =
c6contract( BzD1zD1z0zCg3, BzU2zU2zRzCgminus,
2099 c0m1_0m1 =
c6contract( BzD1zD1z0zCg3, BzU2zU2zRzCgminus,
2103 multi1d<DComplex> cm1m1_m1m1(length);
2104 cm1m1_m1m1 =
c6contract( BzD1zD1z0zCgminus, BzU2zU2zRzCgminus,
2112 for (
int t=0;
t < length;
t++) {
2113 cJ2m2[
t] = c11_11[
t];
2114 cJ2m1[
t] = (c01_01[
t] + c01_10[
t] + c10_01[
t] + c10_10[
t]) /2.;
2115 cJ1m1[
t] = (c01_01[
t] - c01_10[
t] - c10_01[
t] + c10_10[
t]) /2.;
2116 cJ2m0[
t] = (cm11_m11[
t] + 2 * cm11_00[
t] + cm11_1m1[
t]
2117 + 2 * c00_m11[
t] + 4 * c00_00[
t] + 2 * c00_1m1[
t]
2118 + c1m1_m11[
t] + 2 * c1m1_00[
t] + c1m1_1m1[
t])/6.;
2119 cJ1m0[
t] = (cm11_m11[
t] - cm11_1m1[
t] - c1m1_m11[
t] + c1m1_1m1[
t])/2.;
2120 cJ0m0[
t] = (cm11_m11[
t] - cm11_00[
t] + cm11_1m1[
t]
2121 - c00_m11[
t] + c00_00[
t] - c00_1m1[
t]
2122 + c1m1_m11[
t] - c1m1_00[
t] + c1m1_1m1[
t])/3.;
2123 cJ2mneg1[
t] = (c0m1_0m1[
t] + c0m1_m10[
t] + cm10_0m1[
t] + cm10_m10[
t])/2.;
2124 cJ1mneg1[
t] = (c0m1_0m1[
t] - c0m1_m10[
t] - cm10_0m1[
t] + cm10_m10[
t])/2.;
2125 cJ2mneg2[
t] = cm1m1_m1m1[
t];
2127 c6J2result[0][
t] = cJ2m2[
t];
2128 c6J2result[1][
t] = cJ2m1[
t];
2129 c6J2result[2][
t] = cJ2m0[
t];
2130 c6J2result[3][
t] = cJ2mneg1[
t];
2131 c6J2result[4][
t] = cJ2mneg2[
t];
2132 c6J2result[5][
t] = cJ1m1[
t];;
2133 c6J2result[6][
t] = cJ1m0[
t];
2134 c6J2result[7][
t] = cJ1mneg1[
t];
2135 c6J2result[8][
t] = cJ0m0[
t];
2154 SpinMatrix g_one = 1.0;
2155 SpinMatrix
Cg5 = g_one * Gamma(5);
2156 SpinMatrix Cg3 = - g_one * Gamma(14);
2157 SpinMatrix Cgminus = g_one * Gamma(11) + timesI(g_one * Gamma(8));
2158 SpinMatrix Cgplus = g_one * Gamma(11) + timesMinusI(g_one * Gamma(8));
2159 SpinMatrix Gup = g_one * Gamma(15) + timesMinusI((g_one*Gamma(3))*Gamma(15));
2160 SpinMatrix Gdown = g_one * Gamma(15) + timesI((g_one*Gamma(3))*Gamma(15));
2163 int length = BzU1zU1z0zCgplus.
length();
2164 multi2d<DComplex> d2J32result;
2165 d2J32result.resize(6,length);
2167 multi1d<DComplex> cJ32m32(length), cJ32m12(length), cJ32mneg12(length), cJ32mneg32(length);
2168 multi1d<DComplex> cJ12m12(length), cJ12mneg12(length);
2180 multi1d<DComplex> c11_11(length);
2181 c11_11 =
d2contract(BzU1zU1z0zCgplus, BzU3zU1z0zCgplus, BzU1zU3z0zCgplus,
2182 HzU2zRzGup, HzU4zRzGup,
2186 multi1d<DComplex> c01_01(length), c1m1_1m1(length), c1m1_01(length), c01_1m1(length);
2187 c01_01 =
d2contract(BzU1zU1z0zCg3, BzU3zU1z0zCg3, BzU1zU3z0zCg3,
2188 HzU2zRzGup, HzU4zRzGup,
2190 c01_1m1 =
d2contract(BzU1zU1z0zCg3, BzU3zU1z0zCg3, BzU1zU3z0zCg3,
2191 HzU2zRzGup, HzU4zRzGup,
2193 c1m1_01 =
d2contract(BzU1zU1z0zCgplus, BzU3zU1z0zCgplus, BzU1zU3z0zCgplus,
2194 HzU2zRzGdown, HzU4zRzGdown,
2196 c1m1_1m1 =
d2contract(BzU1zU1z0zCgplus, BzU3zU1z0zCgplus, BzU1zU3z0zCgplus,
2197 HzU2zRzGdown, HzU4zRzGdown,
2201 multi1d<DComplex> c0m1_0m1(length), cm11_m11(length), cm11_0m1(length), c0m1_m11(length);
2202 c0m1_0m1 =
d2contract(BzU1zU1z0zCg3, BzU3zU1z0zCg3, BzU1zU3z0zCg3,
2203 HzU2zRzGdown, HzU4zRzGdown,
2205 c0m1_m11 =
d2contract(BzU1zU1z0zCg3, BzU3zU1z0zCg3, BzU1zU3z0zCg3,
2206 HzU2zRzGdown, HzU4zRzGdown,
2208 cm11_0m1 =
d2contract(BzU1zU1z0zCgminus, BzU3zU1z0zCgminus, BzU1zU3z0zCgminus,
2209 HzU2zRzGup, HzU4zRzGup,
2211 cm11_m11 =
d2contract(BzU1zU1z0zCgminus, BzU3zU1z0zCgminus, BzU1zU3z0zCgminus,
2212 HzU2zRzGup, HzU4zRzGup,
2216 multi1d<DComplex> cm1m1_m1m1(length);
2217 cm1m1_m1m1 =
d2contract(BzU1zU1z0zCgminus, BzU3zU1z0zCgminus, BzU1zU3z0zCgminus,
2218 HzU2zRzGdown, HzU4zRzGdown,
2222 for (
int t=0;
t < length;
t++) {
2224 cJ32m32[
t] = c11_11[
t];
2225 cJ32m12[
t] = (c1m1_1m1[
t] + sqrt(2.) * c1m1_01[
t] + sqrt(2.) * c01_1m1[
t] + 2.* c01_01[
t]) /3.;
2226 cJ32mneg12[
t] = (2.* c0m1_0m1[
t] + sqrt(2.) * c0m1_m11[
t] + sqrt(2.) * cm11_0m1[
t] + cm11_m11[
t]) /3.;
2227 cJ32mneg32[
t] = cm1m1_m1m1[
t];
2228 cJ12m12[
t] = (2. * c1m1_1m1[
t] - sqrt(2.) * c1m1_01[
t] - sqrt(2.) * c01_1m1[
t] + c01_01[
t]) /3.;
2229 cJ12mneg12[
t] = (c0m1_0m1[
t] - sqrt(2.) * c0m1_m11[
t] - sqrt(2.) * cm11_0m1[
t] + 2. * cm11_m11[
t]) /3.;
2231 d2J32result[0][
t] = cJ32m32[
t];
2232 d2J32result[1][
t] = cJ32m12[
t];
2233 d2J32result[2][
t] = cJ32mneg12[
t];
2234 d2J32result[3][
t] = cJ32mneg32[
t];
2235 d2J32result[4][
t] = cJ12m12[
t];
2236 d2J32result[5][
t] = cJ12mneg12[
t];;
2256 SpinMatrix g_one = 1.0;
2257 SpinMatrix
Cg5 = g_one * Gamma(5);
2258 SpinMatrix Cg3 = - g_one * Gamma(14);
2259 SpinMatrix Cgminus = g_one * Gamma(11) + timesI(g_one * Gamma(8));
2260 SpinMatrix Cgplus = g_one * Gamma(11) + timesMinusI(g_one * Gamma(8));
2261 SpinMatrix Gup = g_one * Gamma(15) + timesMinusI((g_one*Gamma(3))*Gamma(15));
2262 SpinMatrix Gdown = g_one * Gamma(15) + timesI((g_one*Gamma(3))*Gamma(15));
2265 int length = BzU1zU1z0zCgplus.
length();
2266 multi2d<DComplex> d3J32result;
2267 d3J32result.resize(6,length);
2269 multi1d<DComplex> cJ32m32(length), cJ32m12(length), cJ32mneg12(length), cJ32mneg32(length);
2270 multi1d<DComplex> cJ12m12(length), cJ12mneg12(length);
2282 multi1d<DComplex> c11_11(length);
2288 multi1d<DComplex> c01_01(length), c1m1_1m1(length), c1m1_01(length), c01_1m1(length);
2303 multi1d<DComplex> c0m1_0m1(length), cm11_m11(length), cm11_0m1(length), c0m1_m11(length);
2318 multi1d<DComplex> cm1m1_m1m1(length);
2324 for (
int t=0;
t < length;
t++) {
2326 cJ32m32[
t] = c11_11[
t];
2327 cJ32m12[
t] = (c1m1_1m1[
t] + sqrt(2.) * c1m1_01[
t] + sqrt(2.) * c01_1m1[
t] + 2.* c01_01[
t]) /3.;
2328 cJ32mneg12[
t] = (2.* c0m1_0m1[
t] + sqrt(2.) * c0m1_m11[
t] + sqrt(2.) * cm11_0m1[
t] + cm11_m11[
t]) /3.;
2329 cJ32mneg32[
t] = cm1m1_m1m1[
t];
2330 cJ12m12[
t] = (2. * c1m1_1m1[
t] - sqrt(2.) * c1m1_01[
t] - sqrt(2.) * c01_1m1[
t] + c01_01[
t]) /3.;
2331 cJ12mneg12[
t] = (c0m1_0m1[
t] - sqrt(2.) * c0m1_m11[
t] - sqrt(2.) * cm11_0m1[
t] + 2. * cm11_m11[
t]) /3.;
2333 d3J32result[0][
t] = cJ32m32[
t];
2334 d3J32result[1][
t] = cJ32m12[
t];
2335 d3J32result[2][
t] = cJ32mneg12[
t];
2336 d3J32result[3][
t] = cJ32mneg32[
t];
2337 d3J32result[4][
t] = cJ12m12[
t];
2338 d3J32result[5][
t] = cJ12mneg12[
t];;
Compute anti-symmetric tensors.
Heavy Baryon (Qll) 2-pt function : Orginos and Savage.
Fourier transform phase factor support.
int numSubsets() const
Number of subsets - length in decay direction.
int numMom() const
Number of momenta.
int antiSymTensor3d(int i, int j, int k)
Return 3d symmetric tensor.
void write(XMLWriter &xml, const std::string &path, const AsqtadFermActParams ¶m)
Writer parameters.
void HeavyQuarkProp(LatticeColorMatrix &Qprop, const multi1d< LatticeColorMatrix > &u, const multi1d< int > &src_coord, int length, int bc)
Heavy Quark Propagator.
void QllQllPOT(const multi1d< LatticeColorMatrix > &u, const LatticePropagator &quark1, const LatticePropagator &quark2, const multi1d< int > &src1, const multi1d< int > &src2, const SftMom &phases, XMLWriter &xml, const std::string &xml_group)
Heavy hadron potentials for SU(2) isospin limit.
Potential between 2 heavy hadrons : Detmold.
Heavy light meson (Qlbar) 2-pt function : Orginos and Savage.
SpinMatrix Cg5()
C g_5 = C gamma_5 = Gamma(5)
Asqtad Staggered-Dirac operator.
multi1d< DComplex > c1contract(const QllBlock &BzU1zD1z0zCg5, const QllBlock &BzU1zD3z0zCg5, const QllBlock &BzU2zD2zRzCg5, const QllBlock &BzU2zD4zRzCg5, const QllBlock &BzU3zD1z0zCg5, const QllBlock &BzU3zD3z0zCg5, const QllBlock &BzU4zD2zRzCg5, const QllBlock &BzU4zD4zRzCg5, const SpinMatrix &S1, const SpinMatrix &S2)
multi1d< DComplex > c4contract(const QllBlock &BzU1zD1z0zCgjj, const QllBlock &BzU2zU2zRzCgii, const QllBlock &BzU2zU4zRzCgii, const QllBlock &BzU3zD1z0zCgjj, const QllBlock &BzU4zU2zRzCgii, const SpinMatrix &S1, const SpinMatrix &S2)
multi1d< DComplex > c5contract(const QllBlock &BzU1zU1z0zCgjj, const QllBlock &BzU1zU3z0zCgjj, const QllBlock &BzU2zU2zRzCgii, const QllBlock &BzU2zU4zRzCgii, const QllBlock &BzU3zU1z0zCgjj, const QllBlock &BzU3zU3z0zCgjj, const QllBlock &BzU4zU2zRzCgii, const QllBlock &BzU4zU4zRzCgii, const SpinMatrix &S1, const SpinMatrix &S2)
static multi1d< LatticeColorMatrix > u
multi1d< DComplex > bcontract(const HeavyMesonBlock &H1, const SpinMatrix &S1)
push(xml_out,"Condensates")
multi2d< DComplex > c5J2corr(const QllBlock &BzU1zU1z0zCgplus, const QllBlock &BzU1zU3z0zCgplus, const QllBlock &BzU2zU2zRzCgplus, const QllBlock &BzU2zU4zRzCgplus, const QllBlock &BzU3zU1z0zCgplus, const QllBlock &BzU3zU3z0zCgplus, const QllBlock &BzU4zU2zRzCgplus, const QllBlock &BzU4zU4zRzCgplus, const QllBlock &BzU1zU1z0zCg3, const QllBlock &BzU1zU3z0zCg3, const QllBlock &BzU2zU2zRzCg3, const QllBlock &BzU2zU4zRzCg3, const QllBlock &BzU3zU1z0zCg3, const QllBlock &BzU3zU3z0zCg3, const QllBlock &BzU4zU2zRzCg3, const QllBlock &BzU4zU4zRzCg3, const QllBlock &BzU1zU1z0zCgminus, const QllBlock &BzU1zU3z0zCgminus, const QllBlock &BzU2zU2zRzCgminus, const QllBlock &BzU2zU4zRzCgminus, const QllBlock &BzU3zU1z0zCgminus, const QllBlock &BzU3zU3z0zCgminus, const QllBlock &BzU4zU2zRzCgminus, const QllBlock &BzU4zU4zRzCgminus)
multiNd< DComplex > HBQfunc(const multi1d< ColorMatrix > &HQ)
multi1d< DComplex > m2contract(const HeavyMesonBlock &HzU1z0zG5, const HeavyMesonBlock &HzD2zRzG5, const SpinMatrix &S1, const SpinMatrix &S2)
multi2d< DComplex > d2J32corr(const QllBlock &BzU1zU1z0zCgplus, const QllBlock &BzU3zU1z0zCgplus, const QllBlock &BzU1zU3z0zCgplus, const HeavyMesonBlock &HzU2zRzGup, const HeavyMesonBlock &HzU4zRzGup, const QllBlock &BzU1zU1z0zCg3, const QllBlock &BzU3zU1z0zCg3, const QllBlock &BzU1zU3z0zCg3, const QllBlock &BzU1zU1z0zCgminus, const QllBlock &BzU3zU1z0zCgminus, const QllBlock &BzU1zU3z0zCgminus, const HeavyMesonBlock &HzU2zRzGdown, const HeavyMesonBlock &HzU4zRzGdown)
multi2d< DComplex > c4J2corr(const QllBlock &BzU1zD1z0zCgplus, const QllBlock &BzU2zU2zRzCgplus, const QllBlock &BzU2zU4zRzCgplus, const QllBlock &BzU3zD1z0zCgplus, const QllBlock &BzU4zU2zRzCgplus, const QllBlock &BzU1zD1z0zCg3, const QllBlock &BzU2zU2zRzCg3, const QllBlock &BzU2zU4zRzCg3, const QllBlock &BzU3zD1z0zCg3, const QllBlock &BzU4zU2zRzCg3, const QllBlock &BzU1zD1z0zCgminus, const QllBlock &BzU2zU2zRzCgminus, const QllBlock &BzU2zU4zRzCgminus, const QllBlock &BzU3zD1z0zCgminus, const QllBlock &BzU4zU2zRzCgminus)
multi1d< DComplex > c6contract(const QllBlock &BzD1zD1z0zCgjj, const QllBlock &BzU2zU2zRzCgii, const SpinMatrix &S1, const SpinMatrix &S2)
multi2d< DComplex > c6J2corr(const QllBlock &BzD1zD1z0zCgplus, const QllBlock &BzU2zU2zRzCgplus, const QllBlock &BzD1zD1z0zCg3, const QllBlock &BzU2zU2zRzCg3, const QllBlock &BzD1zD1z0zCgminus, const QllBlock &BzU2zU2zRzCgminus)
multi1d< DComplex > sigmabpluscontract(const QllBlock &BzU1zU1z0zCGi, const SpinMatrix &S1)
multi1d< DComplex > m1contract(const HeavyMesonBlock &HzU1z0zG5, const HeavyMesonBlock &HzU2zRzG5, const HeavyMesonBlock &HzU3z0zG5, const HeavyMesonBlock &HzU4zRzG5, const SpinMatrix &S1, const SpinMatrix &S2)
multi1d< DComplex > d3contract(const QllBlock &BzU1zU1z0zCGi, const HeavyMesonBlock &HzD2zRzG5, const SpinMatrix &mesonS1, const SpinMatrix &baryonS2)
multi1d< DComplex > c7contract(const QllBlock &BzU1zD3z0zCG5, const QllBlock &BzU2zU4zRzCGii, const QllBlock &BzU3zD3z0zCG5, const QllBlock &BzU4zU2zRzCGii, const QllBlock &BzU4zU4zRzCGii, const SpinMatrix &S1, const SpinMatrix &S2)
multiNd< DComplex > antiHBQfunc(const multi1d< ColorMatrix > &HQ)
multi1d< DComplex > d1contract(const QllBlock &BzU1zD1z0zCG5, const QllBlock &BzU3zD1z0zCG5, const HeavyMesonBlock &HzU2zRzG5, const HeavyMesonBlock &HzU4zRzG5, const SpinMatrix &mesonS1, const SpinMatrix &baryonS2)
multi1d< LatticeComplex > lc(Ncb)
multi2d< DComplex > d3J32corr(const QllBlock &BzU1zU1z0zCgplus, const HeavyMesonBlock &HzU2zRzGup, const QllBlock &BzU1zU1z0zCg3, const QllBlock &BzU1zU1z0zCgminus, const HeavyMesonBlock &HzU2zRzGdown)
multi1d< DComplex > d2contract(const QllBlock &BzU1zU1z0zCGi, const QllBlock &BzU3zU1z0zCGi, const QllBlock &BzU1zU3z0zCGi, const HeavyMesonBlock &HzU2zRzG5, const HeavyMesonBlock &HzU4zRzG5, const SpinMatrix &mesonS1, const SpinMatrix &baryonS2)
multi1d< DComplex > lambdabcontract(const QllBlock &BzU1zD1z0zCG5, const SpinMatrix &S1)