CHROMA
twoquark_contract_ops.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 /*! \file
3  * \brief Contraction operators for two quarks
4  */
5 
6 #ifndef __twoquark_contract_ops_h__
7 #define __twoquark_contract_ops_h__
8 
9 #include "util/ferm/spin_rep.h"
10 #include <vector>
11 
12 namespace Chroma
13 {
14  //! Take transpose of a distilled object
15  void transpose(multi2d<LatticeColorVector>& dist_rep,
16  const multi2d<LatticeColorVector>& prop_rep);
17 
18  //! Use gamma_5 hermiticity on a prop
19  void gamma5Herm(multi2d<LatticeColorVector>& prop);
20 
21  //----------------------------------------------------------------------------
22  //! Dist(t2) = SpinMatrix*Prop(t2)
23  void multiplyRep(multi2d<LatticeColorVector>& dist_rep,
24  const std::vector<MatrixSpinRep_t>& spin, const multi2d<LatticeColorVector>& prop_rep);
25 
26  //! Dist(t2) = Prop(t2)*SpinMatrix
27  void multiplyRep(multi2d<LatticeColorVector>& dist_rep,
28  const multi2d<LatticeColorVector>& prop_rep, const std::vector<MatrixSpinRep_t>& spin);
29 
30 } // namespace Chroma
31 
32 #endif
LatticePropagator gamma5Herm(const LatticePropagator &source_prop)
Return gamma_5*adj(source)*gamma_f.
std::map< std::string, SinkPropContainer_t > prop
Asqtad Staggered-Dirac operator.
Definition: klein_gord.cc:10
void transpose(multi2d< LatticeColorVector > &dist_rep, const multi2d< LatticeColorVector > &prop_rep)
Take transpose of a matrix in (explicit) spin space.
void multiplyRep(multi2d< LatticeColorVector > &dist_rep, const std::vector< MatrixSpinRep_t > &spin, const multi2d< LatticeColorVector > &prop_rep)
Dist(t2) = SpinMatrix*Prop(t2)
Sparse matrix representation of spin matrices.