HΦ
3.2.0
|
Function for Hubbard Hamitonian. More...
#include <bitcalc.h>
#include "mltplyCommon.h"
#include "mltplyHubbard.h"
#include "mltplyMPIHubbard.h"
#include "CalcTime.h"
#include "mltplyHubbardCore.h"
#include "mltplyMPIHubbardCore.h"
Go to the source code of this file.
Functions | |
int | mltplyHubbard (struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
perform Hamiltonian vector product for (extended) Hubbard type model. \({\bf v}_0 = {\hat H}{\bf v}_1\) More... | |
int | mltplyHubbardGC (struct BindStruct *X, double complex *tmp_v0, double complex *tmp_v1) |
perform Hamiltonian vector product for (extended) Hubbard type model (Grandcanonical). \({\bf v}_0 = {\hat H}{\bf v}_1\) More... | |
double complex | child_pairhopp (double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X) |
Compute pairhopp term (canonical) More... | |
double complex | child_exchange (double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X) |
Compute Exchange term (canonical) in single process. More... | |
double complex | child_general_hopp (double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X, double complex trans) |
Compute hopping (canonical) More... | |
double complex | GC_child_general_hopp (double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X, double complex trans) |
Commpute hopping term (grandcanonical) More... | |
double complex | child_general_int (double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X) |
Compute inter-all term (canonical) More... | |
double complex | GC_child_general_int (double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X) |
Compute inter-all term (canonical) More... | |
double complex | GC_child_pairhopp (double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X) |
Compute pairhopp term (grandcanonical) More... | |
double complex | GC_child_exchange (double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X) |
Compute Exchange term (grandcanonical) in single process. More... | |
Function for Hubbard Hamitonian.
Canonical | Canonical | Grand Canonical | Grand Canonical | |
Intra Process | Inter Process | Intra Process | Inter Process | |
\(c_{i s}^\dagger\) | ::Cis, X_Cis | ::Cis_MPI, X_Cis_MPI | GC_Cis, ::X_GC_Cis | ::GC_Cis_MPI, X_GC_Cis_MPI |
\(c_{j t}\) | ::Ajt, X_Ajt | ::Ajt_MPI, X_Ajt_MPI | GC_Ajt, ::X_GC_Ajt | ::GC_Ajt_MPI, X_GC_Ajt_MPI |
\(c_{i s}^\dagger c_{i s}\) | ::CisAis, X_CisAis | ::child_CisAis_Hubbard_MPI, X_child_CisAis_Hubbard_MPI | GC_CisAis, X_CisAis | ::GC_child_CisAis_Hubbard_MPI, X_GC_child_CisAis_Hubbard_MPI |
\(c_{i s}^\dagger c_{j t}\) | CisAjt, X_CisAjt | ::child_CisAjt_MPIsingle, ::child_CisAjt_MPIdouble, X_child_CisAjt_MPIsingle, X_child_CisAjt_MPIdouble | GC_CisAjt, X_GC_CisAjt | ::GC_child_CisAjt_Hubbard_MPI, X_GC_child_CisAjt_Hubbard_MPI |
\(c_{i s}^\dagger c_{i s} c_{i s}^\dagger c_{i s}\) | child_CisAisCisAis_element | ::X_child_CisAisCisAis_Hubbard_MPI | GC_child_CisAisCisAis_element | ::X_GC_child_CisAisCisAis_Hubbard_MPI |
\(c_{i s}^\dagger c_{i s} c_{j t}^\dagger c_{j t}\) | ::child_CisAisCjtAjt_element | X_child_CisAisCjtAjt_Hubbard_MPI | ::GC_child_CisAisCjtAjt_element | X_GC_child_CisAisCjtAjt_Hubbard_MPI |
\(c_{i s}^\dagger c_{i s} c_{j t}^\dagger c_{k u}\) | child_CisAisCjtAku_element | X_child_CisAisCjtAku_Hubbard_MPI | GC_child_CisAisCjtAku_element | X_GC_child_CisAisCjtAku_Hubbard_MPI |
\(c_{i s}^\dagger c_{j t} c_{k u}^\dagger c_{k u}\) | child_CisAjtCkuAku_element | X_child_CisAjtCkuAku_Hubbard_MPI | GC_child_CisAjtCkuAku_element | X_GC_child_CisAjtCkuAku_Hubbard_MPI |
\(c_{i s}^\dagger c_{j t} c_{k u}^\dagger c_{l v}\) | child_CisAjtCkuAlv_element | X_child_CisAjtCkuAlv_Hubbard_MPI | GC_child_CisAjtCkuAlv_element | X_GC_child_CisAjtCkuAlv_Hubbard_MPI |
Other
Definition in file mltplyHubbard.c.
double complex child_exchange | ( | double complex * | tmp_v0, |
double complex * | tmp_v1, | ||
struct BindStruct * | X | ||
) |
Compute Exchange term (canonical) in single process.
[in,out] | tmp_v0 | Result vector |
[in] | tmp_v1 | Input producted vector |
[in,out] | X |
Definition at line 561 of file mltplyHubbard.c.
References child_exchange_element(), LargeList::i_max, and BindStruct::Large.
Referenced by mltplyHubbard().
double complex child_general_hopp | ( | double complex * | tmp_v0, |
double complex * | tmp_v1, | ||
struct BindStruct * | X, | ||
double complex | trans | ||
) |
Compute hopping (canonical)
[in,out] | tmp_v0 | Result vector |
[in] | tmp_v1 | Input producted vector |
[in,out] | X | |
[in] | trans | Hopping integral |
Definition at line 582 of file mltplyHubbard.c.
References LargeList::A_spin, CisAjt(), LargeList::i_max, LargeList::is1_spin, LargeList::is2_spin, LargeList::isA_spin, and BindStruct::Large.
Referenced by expec_cisajs_Hubbard(), GetPairExcitedStateHubbard(), and mltplyHubbard().
double complex child_general_int | ( | double complex * | tmp_v0, |
double complex * | tmp_v1, | ||
struct BindStruct * | X | ||
) |
Compute inter-all term (canonical)
[in,out] | tmp_v0 | Result vector |
[in] | tmp_v1 | Input producted vector |
[in,out] | X |
Definition at line 645 of file mltplyHubbard.c.
References LargeList::A_spin, LargeList::B_spin, child_CisAisCisAis_element(), child_CisAisCjtAku_element(), child_CisAjtCkuAku_element(), child_CisAjtCkuAlv_element(), LargeList::i_max, LargeList::is1_spin, LargeList::is2_spin, LargeList::is3_spin, LargeList::is4_spin, LargeList::isA_spin, LargeList::isB_spin, BindStruct::Large, and LargeList::tmp_V.
Referenced by mltplyHubbard().
double complex child_pairhopp | ( | double complex * | tmp_v0, |
double complex * | tmp_v1, | ||
struct BindStruct * | X | ||
) |
Compute pairhopp term (canonical)
[in,out] | tmp_v0 | Result vector |
[in] | tmp_v1 | Input producted vector |
[in,out] | X |
Definition at line 540 of file mltplyHubbard.c.
References child_pairhopp_element(), LargeList::i_max, and BindStruct::Large.
Referenced by mltplyHubbard().
double complex GC_child_exchange | ( | double complex * | tmp_v0, |
double complex * | tmp_v1, | ||
struct BindStruct * | X | ||
) |
Compute Exchange term (grandcanonical) in single process.
Definition at line 791 of file mltplyHubbard.c.
References GC_child_exchange_element(), LargeList::i_max, and BindStruct::Large.
Referenced by mltplyHubbardGC().
double complex GC_child_general_hopp | ( | double complex * | tmp_v0, |
double complex * | tmp_v1, | ||
struct BindStruct * | X, | ||
double complex | trans | ||
) |
Commpute hopping term (grandcanonical)
[in,out] | tmp_v0 | Result vector |
[in] | tmp_v1 | Input producted vector |
[in,out] | X | |
[in] | trans | Hopping integral |
Definition at line 609 of file mltplyHubbard.c.
References LargeList::A_spin, GC_CisAis(), GC_CisAjt(), LargeList::i_max, LargeList::is1_spin, LargeList::is2_spin, LargeList::isA_spin, and BindStruct::Large.
Referenced by expec_cisajs_HubbardGC(), GetPairExcitedStateHubbardGC(), and mltplyHubbardGC().
double complex GC_child_general_int | ( | double complex * | tmp_v0, |
double complex * | tmp_v1, | ||
struct BindStruct * | X | ||
) |
Compute inter-all term (canonical)
[in,out] | tmp_v0 | Result vector |
[in] | tmp_v1 | Input producted vector |
[in,out] | X |
Definition at line 708 of file mltplyHubbard.c.
References LargeList::A_spin, LargeList::B_spin, GC_child_CisAisCisAis_element(), GC_child_CisAisCjtAku_element(), GC_child_CisAjtCkuAku_element(), GC_child_CisAjtCkuAlv_element(), LargeList::i_max, LargeList::is1_spin, LargeList::is2_spin, LargeList::is3_spin, LargeList::is4_spin, LargeList::isA_spin, LargeList::isB_spin, BindStruct::Large, and LargeList::tmp_V.
Referenced by mltplyHubbardGC().
double complex GC_child_pairhopp | ( | double complex * | tmp_v0, |
double complex * | tmp_v1, | ||
struct BindStruct * | X | ||
) |
Compute pairhopp term (grandcanonical)
[in,out] | tmp_v0 | Result vector |
[in] | tmp_v1 | Input producted vector |
[in,out] | X |
Definition at line 769 of file mltplyHubbard.c.
References GC_child_pairhopp_element(), LargeList::i_max, and BindStruct::Large.
Referenced by mltplyHubbardGC().
int mltplyHubbard | ( | struct BindStruct * | X, |
double complex * | tmp_v0, | ||
double complex * | tmp_v1 | ||
) |
perform Hamiltonian vector product for (extended) Hubbard type model. \({\bf v}_0 = {\hat H}{\bf v}_1\)
Transfer
InterAll
Pair hopping
Exchange
[in,out] | X | |
[in,out] | tmp_v0 | Result vector |
[in] | tmp_v1 | Input producted vector |
Definition at line 150 of file mltplyHubbard.c.
References CheckPE(), child_exchange(), child_exchange_GetInfo(), child_general_hopp(), child_general_hopp_GetInfo(), child_general_hopp_MPIdouble(), child_general_hopp_MPIsingle(), child_general_int(), child_general_int_GetInfo(), child_pairhopp(), child_pairhopp_GetInfo(), BindStruct::Def, DefineList::EDGeneralTransfer, DefineList::EDNTransfer, DefineList::EDParaGeneralTransfer, DefineList::ExchangeCoupling, DefineList::InterAll_OffDiagonal, BindStruct::Large, DefineList::NExchangeCoupling, DefineList::NInterAll_OffDiagonal, DefineList::NPairHopping, DefineList::Nsite, DefineList::OrgTpow, DefineList::PairHopping, DefineList::ParaExchangeCoupling, DefineList::ParaInterAll_OffDiagonal, DefineList::ParaPairHopping, LargeList::prdct, StartTimer(), StopTimer(), LargeList::tmp_trans, TRUE, X_child_CisAisCjtAjt_Hubbard_MPI(), X_child_CisAisCjtAku_Hubbard_MPI(), X_child_CisAjtCkuAku_Hubbard_MPI(), and X_child_CisAjtCkuAlv_Hubbard_MPI().
Referenced by mltply().
int mltplyHubbardGC | ( | struct BindStruct * | X, |
double complex * | tmp_v0, | ||
double complex * | tmp_v1 | ||
) |
perform Hamiltonian vector product for (extended) Hubbard type model (Grandcanonical). \({\bf v}_0 = {\hat H}{\bf v}_1\)
Transfer
Inter All
Pair hopping
Exchange
[in,out] | X | |
[in,out] | tmp_v0 | Result vector |
[in] | tmp_v1 | Input producted vector |
Definition at line 347 of file mltplyHubbard.c.
References CheckPE(), child_exchange_GetInfo(), child_general_hopp_GetInfo(), child_general_int_GetInfo(), child_pairhopp_GetInfo(), BindStruct::Def, DefineList::EDGeneralTransfer, DefineList::EDNTransfer, DefineList::EDParaGeneralTransfer, DefineList::ExchangeCoupling, GC_child_exchange(), GC_child_general_hopp(), GC_child_general_hopp_MPIdouble(), GC_child_general_hopp_MPIsingle(), GC_child_general_int(), GC_child_pairhopp(), DefineList::InterAll_OffDiagonal, BindStruct::Large, DefineList::NExchangeCoupling, DefineList::NInterAll_OffDiagonal, DefineList::NPairHopping, DefineList::Nsite, DefineList::OrgTpow, DefineList::PairHopping, DefineList::ParaExchangeCoupling, DefineList::ParaInterAll_OffDiagonal, DefineList::ParaPairHopping, LargeList::prdct, StartTimer(), StopTimer(), TRUE, X_GC_child_CisAisCjtAjt_Hubbard_MPI(), X_GC_child_CisAisCjtAku_Hubbard_MPI(), X_GC_child_CisAjtCkuAku_Hubbard_MPI(), and X_GC_child_CisAjtCkuAlv_Hubbard_MPI().
Referenced by mltply().