HΦ
3.1.0
|
Functions for Hubbard hamiltonian (Core) More...
#include <bitcalc.h>
#include "mfmemory.h"
#include "xsetmem.h"
#include "wrapperMPI.h"
#include "mltplyCommon.h"
#include "mltplyHubbardCore.h"
Go to the source code of this file.
Functions | |
int | child_general_hopp_GetInfo (struct BindStruct *X, unsigned long int isite1, unsigned long int isite2, unsigned long int sigma1, unsigned long int sigma2) |
Compute mask for bit operation of hopping term. More... | |
int | child_general_int_GetInfo (int iInterAll, struct BindStruct *X, long unsigned int isite1, long unsigned int isite2, long unsigned int isite3, long unsigned int isite4, long unsigned int sigma1, long unsigned int sigma2, long unsigned int sigma3, long unsigned int sigma4, double complex tmp_V) |
Compute mask for bit operation of general interaction term. More... | |
int | child_pairhopp_GetInfo (int iPairHopp, struct BindStruct *X) |
Compute mask for bit operation of pairhop term. More... | |
int | child_exchange_GetInfo (int iExchange, struct BindStruct *X) |
Compute mask for bit operation of exchange term. More... | |
double complex | GC_CisAis (long unsigned int j, double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X, long unsigned int is1_spin, double complex tmp_trans) |
Operation of \(t c_{i\sigma}^\dagger c_{i\sigma}\) (Grandcanonical) More... | |
double complex | GC_AisCis (long unsigned int j, double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X, long unsigned int is1_spin, double complex tmp_trans) |
Operation of \(t c_{i\sigma} c_{i\sigma}^\dagger\) (Grandcanonical) More... | |
int | X_CisAis (long unsigned int list_1_j, struct BindStruct *X, long unsigned int is1_spin) |
\(c_{is}\\dagger c_{is}\) term in Hubbard (canonical) More... | |
double complex | CisAjt (long unsigned int j, double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X, long unsigned int is1_spin, long unsigned int is2_spin, long unsigned int sum_spin, long unsigned int diff_spin, double complex tmp_V) |
\(c_{is}^\dagger c_{jt}\) term for canonical Hubbard More... | |
double complex | GC_CisAjt (long unsigned int j, double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X, long unsigned int is1_spin, long unsigned int is2_spin, long unsigned int sum_spin, long unsigned int diff_spin, double complex tmp_V, long unsigned int *tmp_off) |
\(c_{is}^\dagger c_{jt}\) term for grandcanonical Hubbard More... | |
int | X_CisAjt (long unsigned int list_1_j, struct BindStruct *X, long unsigned int is1_spin, long unsigned int is2_spin, long unsigned int sum_spin, long unsigned int diff_spin, long unsigned int *tmp_off) |
Compute index of wavefunction of final state. More... | |
int | X_GC_CisAjt (long unsigned int list_1_j, struct BindStruct *X, long unsigned int is1_spin, long unsigned int is2_spin, long unsigned int sum_spin, long unsigned int diff_spin, long unsigned int *tmp_off) |
Compute index of wavefunction of final state. More... | |
double complex | child_exchange_element (long unsigned int j, double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X, long unsigned int *tmp_off) |
Compute exchange term of canonical-Hubbard. More... | |
double complex | child_pairhopp_element (long unsigned int j, double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X, long unsigned int *tmp_off) |
Compute pairhopp term of canonical Hubbard system. More... | |
double complex | GC_child_exchange_element (long unsigned int j, double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X, long unsigned int *tmp_off) |
Compute exchange term of grandcanonical Hubbard system. More... | |
double complex | GC_child_pairhopp_element (long unsigned int j, double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X, long unsigned int *tmp_off) |
Compute pairhopp term of grandcanonical Hubbard system. More... | |
double complex | child_CisAisCisAis_element (long unsigned int j, long unsigned int isite1, long unsigned int isite3, double complex tmp_V, double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X, long unsigned int *tmp_off) |
Compute \(c_{is}^\dagger c_{is} c_{is}^\dagger c_{is}\) term of canonical Hubbard system. More... | |
double complex | child_CisAisCjtAku_element (long unsigned int j, long unsigned int isite1, long unsigned int isite3, long unsigned int isite4, long unsigned int Bsum, long unsigned int Bdiff, double complex tmp_V, double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X, long unsigned int *tmp_off) |
Compute \(c_{is}^\dagger c_{is} c_{jt}^\dagger c_{ku}\) term of canonical Hubbard system. More... | |
double complex | child_CisAjtCkuAku_element (long unsigned int j, long unsigned int isite1, long unsigned int isite2, long unsigned int isite3, long unsigned int Asum, long unsigned int Adiff, double complex tmp_V, double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X, long unsigned int *tmp_off) |
Compute \(c_{is}^\dagger c_{jt} c_{ku}^\dagger c_{ku}\) term of canonical Hubbard system. More... | |
double complex | child_CisAjtCkuAlv_element (long unsigned int j, long unsigned int isite1, long unsigned int isite2, long unsigned int isite3, long unsigned int isite4, long unsigned int Asum, long unsigned int Adiff, long unsigned int Bsum, long unsigned int Bdiff, double complex tmp_V, double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X, long unsigned int *tmp_off_2) |
Compute \(c_{is}^\dagger c_{jt} c_{ku}^\dagger c_{lv}\) term of canonical Hubbard system. More... | |
double complex | GC_child_CisAisCisAis_element (long unsigned int j, long unsigned int isite1, long unsigned int isite3, double complex tmp_V, double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X, long unsigned int *tmp_off) |
Compute \(c_{is}^\dagger c_{is} c_{is}^\dagger c_{is}\) term of grandcanonical Hubbard system. More... | |
double complex | GC_child_CisAisCjtAku_element (long unsigned int j, long unsigned int isite1, long unsigned int isite3, long unsigned int isite4, long unsigned int Bsum, long unsigned int Bdiff, double complex tmp_V, double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X, long unsigned int *tmp_off) |
Compute \(c_{is}^\dagger c_{is} c_{jt}^\dagger c_{ku}\) term of grandcanonical Hubbard system. More... | |
double complex | GC_child_CisAjtCkuAku_element (long unsigned int j, long unsigned int isite1, long unsigned int isite2, long unsigned int isite3, long unsigned int Asum, long unsigned int Adiff, double complex tmp_V, double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X, long unsigned int *tmp_off) |
Compute \(c_{is}^\dagger c_{jt} c_{ku}^\dagger c_{ku}\) term of grandcanonical Hubbard system. More... | |
double complex | GC_child_CisAjtCkuAlv_element (long unsigned int j, long unsigned int isite1, long unsigned int isite2, long unsigned int isite3, long unsigned int isite4, long unsigned int Asum, long unsigned int Adiff, long unsigned int Bsum, long unsigned int Bdiff, double complex tmp_V, double complex *tmp_v0, double complex *tmp_v1, struct BindStruct *X, long unsigned int *tmp_off_2) |
Compute \(c_{is}^\dagger c_{jt} c_{ku}^\dagger c_{lv}\) term of grandcanonical Hubbard system. More... | |
double complex | GC_Cis (long unsigned int j, double complex *tmp_v0, double complex *tmp_v1, long unsigned int is1_spin, double complex tmp_V, long unsigned int *tmp_off) |
Compute \(c_{is}^\dagger\) term of grandcanonical Hubbard system. More... | |
double complex | GC_Ajt (long unsigned int j, double complex *tmp_v0, double complex *tmp_v1, long unsigned int is1_spin, double complex tmp_V, long unsigned int *tmp_off) |
Compute \(c_{jt}\) term of grandcanonical Hubbard system. More... | |
int | X_Cis (long unsigned int j, long unsigned int is1_spin, long unsigned int *tmp_off, long unsigned int *list_1_org, long unsigned int *list_2_1_target, long unsigned int *list_2_2_target, long unsigned int _irght, long unsigned int _ilft, long unsigned int _ihfbit) |
Compute index of final wavefunction associatesd to \(c_{is}^\dagger\) term of canonical Hubbard system. More... | |
double complex | X_Ajt (long unsigned int j, long unsigned int is1_spin, long unsigned int *tmp_off, long unsigned int *list_1_org, long unsigned int *list_2_1_target, long unsigned int *list_2_2_target, long unsigned int _irght, long unsigned int _ilft, long unsigned int _ihfbit) |
Compute index of final wavefunction associatesd to \(c_{jt}\) term of canonical Hubbard system. More... | |
Functions for Hubbard hamiltonian (Core)
Definition in file mltplyHubbardCore.c.
double complex child_CisAisCisAis_element | ( | long unsigned int | j, |
long unsigned int | isite1, | ||
long unsigned int | isite3, | ||
double complex | tmp_V, | ||
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
struct BindStruct * | X, | ||
long unsigned int * | tmp_off | ||
) |
Compute \(c_{is}^\dagger c_{is} c_{is}^\dagger c_{is}\) term of canonical Hubbard system.
[in] | j | Index of initial wavefunction |
[in] | isite1 | Site 1 |
[in] | isite3 | Site 3 |
[in] | tmp_V | Coupling constant |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Wavefunction to be multiplied |
[in,out] | X | |
[out] | tmp_off | Index of final wavefunction |
Definition at line 690 of file mltplyHubbardCore.c.
References list_1, X, and X_CisAis().
Referenced by child_general_int(), expec_cisajscktalt_Hubbard(), and makeHam().
double complex child_CisAisCjtAku_element | ( | long unsigned int | j, |
long unsigned int | isite1, | ||
long unsigned int | isite3, | ||
long unsigned int | isite4, | ||
long unsigned int | Bsum, | ||
long unsigned int | Bdiff, | ||
double complex | tmp_V, | ||
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
struct BindStruct * | X, | ||
long unsigned int * | tmp_off | ||
) |
Compute \(c_{is}^\dagger c_{is} c_{jt}^\dagger c_{ku}\) term of canonical Hubbard system.
[in] | j | Index of initial wavefunction |
[in] | isite1 | Site 1 |
[in] | isite3 | Site 3 |
[in] | isite4 | Site 4 |
[in] | Bsum | Bit mask for hopping |
[in] | Bdiff | Bit mask for Fermion sign |
[in] | tmp_V | Coupling constant |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Wavefunction to be multiplied |
[in,out] | X | |
[out] | tmp_off | Index of final wavefunction |
Definition at line 719 of file mltplyHubbardCore.c.
References list_1, X, X_CisAis(), and X_CisAjt().
Referenced by child_general_int(), expec_cisajscktalt_Hubbard(), and makeHam().
double complex child_CisAjtCkuAku_element | ( | long unsigned int | j, |
long unsigned int | isite1, | ||
long unsigned int | isite2, | ||
long unsigned int | isite3, | ||
long unsigned int | Asum, | ||
long unsigned int | Adiff, | ||
double complex | tmp_V, | ||
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
struct BindStruct * | X, | ||
long unsigned int * | tmp_off | ||
) |
Compute \(c_{is}^\dagger c_{jt} c_{ku}^\dagger c_{ku}\) term of canonical Hubbard system.
[in] | j | Index of initial wavefunction |
[in] | isite1 | Site 1 |
[in] | isite2 | Site 2 |
[in] | isite3 | Site 3 |
[in] | Asum | Bit mask for hopping |
[in] | Adiff | Bit mask for Fermion sign |
[in] | tmp_V | Coupling constant |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Wavefunction to be multiplied |
[in,out] | X | |
[out] | tmp_off | Index of final wavefunction |
Definition at line 755 of file mltplyHubbardCore.c.
References list_1, X, X_CisAis(), and X_CisAjt().
Referenced by child_general_int(), expec_cisajscktalt_Hubbard(), and makeHam().
double complex child_CisAjtCkuAlv_element | ( | long unsigned int | j, |
long unsigned int | isite1, | ||
long unsigned int | isite2, | ||
long unsigned int | isite3, | ||
long unsigned int | isite4, | ||
long unsigned int | Asum, | ||
long unsigned int | Adiff, | ||
long unsigned int | Bsum, | ||
long unsigned int | Bdiff, | ||
double complex | tmp_V, | ||
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
struct BindStruct * | X, | ||
long unsigned int * | tmp_off_2 | ||
) |
Compute \(c_{is}^\dagger c_{jt} c_{ku}^\dagger c_{lv}\) term of canonical Hubbard system.
[in] | j | Index of initial wavefunction |
[in] | isite1 | Site 1 |
[in] | isite2 | Site 2 |
[in] | isite3 | Site 3 |
[in] | isite4 | Site 4 |
[in] | Asum | Bit mask for hopping |
[in] | Adiff | Bit mask for Fermion sign |
[in] | Bsum | Bit mask for hopping |
[in] | Bdiff | Bit mask for Fermion sign |
[in] | tmp_V | Coupling constant |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Wavefunction to be multiplied |
[in,out] | X | |
[out] | tmp_off_2 | Index of final wavefunction |
Definition at line 792 of file mltplyHubbardCore.c.
References list_1, X, X_CisAjt(), and X_GC_CisAjt().
Referenced by child_general_int(), expec_cisajscktalt_Hubbard(), and makeHam().
double complex child_exchange_element | ( | long unsigned int | j, |
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
struct BindStruct * | X, | ||
long unsigned int * | tmp_off | ||
) |
Compute exchange term of canonical-Hubbard.
[in] | j | Index of initial wavefunction |
[in,out] | tmp_v0 | \(v_0 = H v_1\) |
[in] | tmp_v1 | Vector to be producted |
[in,out] | X | |
tmp_off | [off] Index of wavefunction of final state |
Definition at line 473 of file mltplyHubbardCore.c.
References GetOffComp(), list_1, list_2_1, list_2_2, TRUE, and X.
Referenced by child_exchange(), and makeHam().
int child_exchange_GetInfo | ( | int | iExchange, |
struct BindStruct * | X | ||
) |
Compute mask for bit operation of exchange term.
Copy coupling constant (LargeList::tmp_J)
Compute mask for checking occupations of \((i_1,\uparrow)\) (LargeList::is1_up), \((i_1,\downarrow)\) (LargeList::is1_down) \((i_2,\uparrow)\) (LargeList::is2_up), \((i_2,\downarrow)\) (LargeList::is2_down)
[in] | iExchange | Index of exchange interaction |
[in,out] | X |
Definition at line 198 of file mltplyHubbardCore.c.
References X.
Referenced by makeHam(), mltplyHubbard(), and mltplyHubbardGC().
int child_general_hopp_GetInfo | ( | struct BindStruct * | X, |
unsigned long int | isite1, | ||
unsigned long int | isite2, | ||
unsigned long int | sigma1, | ||
unsigned long int | sigma2 | ||
) |
Compute mask for bit operation of hopping term.
Compute mask for checking occupations of \((i_1,\sigma_1)\) (LargeList::is1_spin) and \((i_2,\sigma_2)\) (LargeList::is2_spin)
Compute mask for Fermion sign (LargeList::A_spin)
Compute mask for hopping (LargeList::isA_spin)
[in,out] | X | |
[in] | isite1 | Site index |
[in] | isite2 | Site index |
[in] | sigma1 | Spin index |
[in] | sigma2 | Spin index |
Definition at line 35 of file mltplyHubbardCore.c.
References X.
Referenced by expec_cisajs_Hubbard(), expec_cisajs_HubbardGC(), GetPairExcitedStateHubbard(), GetPairExcitedStateHubbardGC(), makeHam(), mltplyHalfSpinGC(), mltplyHubbard(), and mltplyHubbardGC().
int child_general_int_GetInfo | ( | int | iInterAll, |
struct BindStruct * | X, | ||
long unsigned int | isite1, | ||
long unsigned int | isite2, | ||
long unsigned int | isite3, | ||
long unsigned int | isite4, | ||
long unsigned int | sigma1, | ||
long unsigned int | sigma2, | ||
long unsigned int | sigma3, | ||
long unsigned int | sigma4, | ||
double complex | tmp_V | ||
) |
Compute mask for bit operation of general interaction term.
Compute mask for checking occupations of \((i_1,\sigma_1)\) (LargeList::is1_spin) and \((i_2,\sigma_2)\) (LargeList::is2_spin)
Compute mask for Fermion sign (LargeList::A_spin)
Compute mask for checking occupations of \((i_3,\sigma_3)\) (LargeList::is3_spin) and \((i_4,\sigma_4)\) (LargeList::is4_spin)
Compute mask for Fermion sign (LargeList::B_spin)
Compute mask for hopping (LargeList::isA_spin, LargeList::isB_spin)
Copy coupling constant (LargeList::tmp_V)
[in] | iInterAll | It is not used |
[in,out] | X | |
[in] | isite1 | Site index |
[in] | isite2 | Site index |
[in] | isite3 | Site index |
[in] | isite4 | Site index |
[in] | sigma1 | Spin index |
[in] | sigma2 | Spin index |
[in] | sigma3 | Spin index |
[in] | sigma4 | Spin index |
[in] | tmp_V | Coupling constant |
Definition at line 77 of file mltplyHubbardCore.c.
References X.
Referenced by expec_cisajscktalt_Hubbard(), expec_cisajscktalt_HubbardGC(), makeHam(), mltplyHubbard(), and mltplyHubbardGC().
double complex child_pairhopp_element | ( | long unsigned int | j, |
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
struct BindStruct * | X, | ||
long unsigned int * | tmp_off | ||
) |
Compute pairhopp term of canonical Hubbard system.
[in] | j | Index of initial wavefunction |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Wavefunction to be multiplied |
[in,out] | X | |
[out] | tmp_off | Index of final wavefunction |
Definition at line 534 of file mltplyHubbardCore.c.
References GetOffComp(), list_1, list_2_1, list_2_2, TRUE, and X.
Referenced by child_pairhopp(), and makeHam().
int child_pairhopp_GetInfo | ( | int | iPairHopp, |
struct BindStruct * | X | ||
) |
Compute mask for bit operation of pairhop term.
Copy coupling constant (LargeList::tmp_J)
Compute mask for checking occupations of \((i_1,\uparrow)\) (LargeList::is1_up), \((i_1,\downarrow)\) (LargeList::is1_down) \((i_2,\uparrow)\) (LargeList::is2_up), \((i_2,\downarrow)\) (LargeList::is2_down)
[in] | iPairHopp | Index of pairhopp interaction |
[in,out] | X |
Definition at line 170 of file mltplyHubbardCore.c.
References X.
Referenced by makeHam(), mltplyHubbard(), and mltplyHubbardGC().
double complex CisAjt | ( | long unsigned int | j, |
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
struct BindStruct * | X, | ||
long unsigned int | is1_spin, | ||
long unsigned int | is2_spin, | ||
long unsigned int | sum_spin, | ||
long unsigned int | diff_spin, | ||
double complex | tmp_V | ||
) |
\(c_{is}^\dagger c_{jt}\) term for canonical Hubbard
[in] | j | Index of wavefunction |
[in,out] | tmp_v0 | \(v_0 = H v_1\) |
[in] | tmp_v1 | Vector to be producted |
[in,out] | X | |
[in] | is1_spin | Mask for occupation of (is) |
[in] | is2_spin | Mask for occupation of (jt) |
[in] | sum_spin | Mask for hopping |
[in] | diff_spin | Mask for Fermion sign |
[in] | tmp_V | Hopping integral |
Definition at line 306 of file mltplyHubbardCore.c.
References FALSE, GetOffComp(), list_1, list_2_1, list_2_2, SgnBit(), and X.
Referenced by child_general_hopp(), X_child_CisAjtCkuAku_Hubbard_MPI(), and X_child_CisAjtCkuAlv_Hubbard_MPI().
double complex GC_AisCis | ( | long unsigned int | j, |
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
struct BindStruct * | X, | ||
long unsigned int | is1_spin, | ||
double complex | tmp_trans | ||
) |
Operation of \(t c_{i\sigma} c_{i\sigma}^\dagger\) (Grandcanonical)
[in] | j | Index of element of wavefunction |
[in,out] | tmp_v0 | Result vector |
[in] | tmp_v1 | Input producted vector |
[in,out] | X | |
[in] | is1_spin | Mask for occupation of \((i \sigma)\) |
[in] | tmp_trans | Transfer integral |
Definition at line 261 of file mltplyHubbardCore.c.
References X.
Referenced by GetPairExcitedStateHubbardGC().
double complex GC_Ajt | ( | long unsigned int | j, |
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
long unsigned int | is1_spin, | ||
double complex | tmp_V, | ||
long unsigned int * | tmp_off | ||
) |
Compute \(c_{jt}\) term of grandcanonical Hubbard system.
[in] | j | Index of initial wavefunction |
[in] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Wavefunction to be multiplied |
[in] | is1_spin | Bit mask |
[in] | tmp_V | Coupling constant |
[in] | tmp_off | Index of final wavefunction |
Definition at line 1032 of file mltplyHubbardCore.c.
References myrank, and SgnBit().
Referenced by GetSingleExcitedStateHubbardGC().
double complex GC_child_CisAisCisAis_element | ( | long unsigned int | j, |
long unsigned int | isite1, | ||
long unsigned int | isite3, | ||
double complex | tmp_V, | ||
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
struct BindStruct * | X, | ||
long unsigned int * | tmp_off | ||
) |
Compute \(c_{is}^\dagger c_{is} c_{is}^\dagger c_{is}\) term of grandcanonical Hubbard system.
[in] | j | Index of initial wavefunction |
[in] | isite1 | Site 1 |
[in] | isite3 | Site 3 |
[in] | tmp_V | Coupling constant |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Wavefunction to be multiplied |
[in,out] | X | |
[out] | tmp_off | Index of final wavefunction |
Definition at line 835 of file mltplyHubbardCore.c.
References X, and X_CisAis().
Referenced by expec_cisajscktalt_HubbardGC(), GC_child_general_int(), and makeHam().
double complex GC_child_CisAisCjtAku_element | ( | long unsigned int | j, |
long unsigned int | isite1, | ||
long unsigned int | isite3, | ||
long unsigned int | isite4, | ||
long unsigned int | Bsum, | ||
long unsigned int | Bdiff, | ||
double complex | tmp_V, | ||
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
struct BindStruct * | X, | ||
long unsigned int * | tmp_off | ||
) |
Compute \(c_{is}^\dagger c_{is} c_{jt}^\dagger c_{ku}\) term of grandcanonical Hubbard system.
[in] | j | Index of initial wavefunction |
[in] | isite1 | Site 1 |
[in] | isite3 | Site 3 |
[in] | isite4 | Site 4 |
[in] | Bsum | Bit mask for hopping |
[in] | Bdiff | Bit mask for Fermion sign |
[in] | tmp_V | Coupling constant |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Wavefunction to be multiplied |
[in,out] | X | |
[out] | tmp_off | Index of final wavefunction |
Definition at line 866 of file mltplyHubbardCore.c.
References X, X_CisAis(), and X_GC_CisAjt().
Referenced by expec_cisajscktalt_HubbardGC(), GC_child_general_int(), and makeHam().
double complex GC_child_CisAjtCkuAku_element | ( | long unsigned int | j, |
long unsigned int | isite1, | ||
long unsigned int | isite2, | ||
long unsigned int | isite3, | ||
long unsigned int | Asum, | ||
long unsigned int | Adiff, | ||
double complex | tmp_V, | ||
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
struct BindStruct * | X, | ||
long unsigned int * | tmp_off | ||
) |
Compute \(c_{is}^\dagger c_{jt} c_{ku}^\dagger c_{ku}\) term of grandcanonical Hubbard system.
[in] | j | Index of initial wavefunction |
[in] | isite1 | Site 1 |
[in] | isite2 | Site 2 |
[in] | isite3 | Site 3 |
[in] | Asum | Bit mask for hopping |
[in] | Adiff | Bit mask for Fermion sign |
[in] | tmp_V | Coupling constant |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Wavefunction to be multiplied |
[in,out] | X | |
[out] | tmp_off | Index of final wavefunction |
Definition at line 902 of file mltplyHubbardCore.c.
References X, X_CisAis(), and X_GC_CisAjt().
Referenced by expec_cisajscktalt_HubbardGC(), GC_child_general_int(), and makeHam().
double complex GC_child_CisAjtCkuAlv_element | ( | long unsigned int | j, |
long unsigned int | isite1, | ||
long unsigned int | isite2, | ||
long unsigned int | isite3, | ||
long unsigned int | isite4, | ||
long unsigned int | Asum, | ||
long unsigned int | Adiff, | ||
long unsigned int | Bsum, | ||
long unsigned int | Bdiff, | ||
double complex | tmp_V, | ||
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
struct BindStruct * | X, | ||
long unsigned int * | tmp_off_2 | ||
) |
Compute \(c_{is}^\dagger c_{jt} c_{ku}^\dagger c_{lv}\) term of grandcanonical Hubbard system.
[in] | j | Index of initial wavefunction |
[in] | isite1 | Site 1 |
[in] | isite2 | Site 2 |
[in] | isite3 | Site 3 |
[in] | isite4 | Site 4 |
[in] | Asum | Bit mask for hopping |
[in] | Adiff | Bit mask for Fermion sign |
[in] | Bsum | Bit mask for hopping |
[in] | Bdiff | Bit mask for Fermion sign |
[in] | tmp_V | Coupling constant |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Wavefunction to be multiplied |
[in,out] | X | |
[out] | tmp_off_2 | Index of final wavefunction |
Definition at line 938 of file mltplyHubbardCore.c.
References X, and X_GC_CisAjt().
Referenced by expec_cisajscktalt_HubbardGC(), GC_child_general_int(), and makeHam().
double complex GC_child_exchange_element | ( | long unsigned int | j, |
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
struct BindStruct * | X, | ||
long unsigned int * | tmp_off | ||
) |
Compute exchange term of grandcanonical Hubbard system.
[in] | j | Index of initial wavefunction |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Wavefunction to be multiplied |
[in,out] | X | |
[out] | tmp_off | Index of final wavefunction |
Definition at line 583 of file mltplyHubbardCore.c.
References X.
Referenced by GC_child_exchange(), and makeHam().
double complex GC_child_pairhopp_element | ( | long unsigned int | j, |
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
struct BindStruct * | X, | ||
long unsigned int * | tmp_off | ||
) |
Compute pairhopp term of grandcanonical Hubbard system.
[in] | j | Index of initial wavefunction |
[in,out] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Wavefunction to be multiplied |
[in,out] | X | |
[out] | tmp_off | Index of final wavefunction |
Definition at line 641 of file mltplyHubbardCore.c.
References X.
Referenced by GC_child_pairhopp(), and makeHam().
double complex GC_Cis | ( | long unsigned int | j, |
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
long unsigned int | is1_spin, | ||
double complex | tmp_V, | ||
long unsigned int * | tmp_off | ||
) |
Compute \(c_{is}^\dagger\) term of grandcanonical Hubbard system.
[in] | j | Index of initial wavefunction |
[in] | tmp_v0 | Resulting wavefunction |
[in] | tmp_v1 | Wavefunction to be multiplied |
[in] | is1_spin | Bit mask |
[in] | tmp_V | Coupling constant |
[in] | tmp_off | Index of final wavefunction |
Definition at line 981 of file mltplyHubbardCore.c.
References myrank, and SgnBit().
Referenced by GetSingleExcitedStateHubbardGC().
double complex GC_CisAis | ( | long unsigned int | j, |
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
struct BindStruct * | X, | ||
long unsigned int | is1_spin, | ||
double complex | tmp_trans | ||
) |
Operation of \(t c_{i\sigma}^\dagger c_{i\sigma}\) (Grandcanonical)
[in] | j | Index of element of wavefunction |
[in,out] | tmp_v0 | Result vector |
[in] | tmp_v1 | Input producted vector |
[in,out] | X | |
[in] | is1_spin | Mask for occupation of \((i \sigma)\) |
[in] | tmp_trans | Transfer integral |
Definition at line 234 of file mltplyHubbardCore.c.
References X.
Referenced by GC_child_general_hopp().
double complex GC_CisAjt | ( | long unsigned int | j, |
double complex * | tmp_v0, | ||
double complex * | tmp_v1, | ||
struct BindStruct * | X, | ||
long unsigned int | is1_spin, | ||
long unsigned int | is2_spin, | ||
long unsigned int | sum_spin, | ||
long unsigned int | diff_spin, | ||
double complex | tmp_V, | ||
long unsigned int * | tmp_off | ||
) |
\(c_{is}^\dagger c_{jt}\) term for grandcanonical Hubbard
[in] | j | Index of wavefunction |
[in] | tmp_v0 | \(v_0 = H v_1\) |
[in] | tmp_v1 | Vector to be producted |
[in,out] | X | |
[in] | is1_spin | Mask for occupation of (is) |
[in] | is2_spin | Mask for occupation of (jt) |
[in] | sum_spin | Mask for hopping |
[in] | diff_spin | Mask for Fermion sign |
[in] | tmp_V | Hopping |
[in] | tmp_off | Index of wavefunction of final state |
Definition at line 355 of file mltplyHubbardCore.c.
Referenced by GC_child_general_hopp(), makeHam(), X_GC_child_CisAjtCkuAku_Hubbard_MPI(), and X_GC_child_CisAjtCkuAlv_Hubbard_MPI().
double complex X_Ajt | ( | long unsigned int | j, |
long unsigned int | is1_spin, | ||
long unsigned int * | tmp_off, | ||
long unsigned int * | list_1_org, | ||
long unsigned int * | list_2_1_target, | ||
long unsigned int * | list_2_2_target, | ||
long unsigned int | _irght, | ||
long unsigned int | _ilft, | ||
long unsigned int | _ihfbit | ||
) |
Compute index of final wavefunction associatesd to \(c_{jt}\) term of canonical Hubbard system.
[in] | j | Index of initial wavefunction |
[in] | is1_spin | Bit mask |
[out] | tmp_off | Index of final wavefunction |
[in] | list_1_org | Similar to list_1 |
[in] | list_2_1_target | Similar to list_2_1 |
[in] | list_2_2_target | Similar to list_2_2 |
[in] | _irght | Similar to LargeList::irght |
[in] | _ilft | Similar to LargeList::ilft |
[in] | _ihfbit | Similar to LargeList::ihfbit |
Definition at line 1136 of file mltplyHubbardCore.c.
References GetOffComp(), list_1_org, myrank, SgnBit(), and TRUE.
Referenced by GetSingleExcitedStateHubbard().
int X_Cis | ( | long unsigned int | j, |
long unsigned int | is1_spin, | ||
long unsigned int * | tmp_off, | ||
long unsigned int * | list_1_org, | ||
long unsigned int * | list_2_1_target, | ||
long unsigned int * | list_2_2_target, | ||
long unsigned int | _irght, | ||
long unsigned int | _ilft, | ||
long unsigned int | _ihfbit | ||
) |
Compute index of final wavefunction associatesd to \(c_{is}^\dagger\) term of canonical Hubbard system.
[in] | j | Index of initial wavefunction |
[in] | is1_spin | Bit mask |
[out] | tmp_off | Index of final wavefunction |
[in] | list_1_org | Similar to list_1 |
[in] | list_2_1_target | Similar to list_2_1 |
[in] | list_2_2_target | Similar to list_2_2 |
[in] | _irght | Similar to LargeList::irght |
[in] | _ilft | Similar to LargeList::ilft |
[in] | _ihfbit | Similar to LargeList::ihfbit |
Definition at line 1082 of file mltplyHubbardCore.c.
References GetOffComp(), list_1_org, myrank, SgnBit(), and TRUE.
Referenced by GetSingleExcitedStateHubbard().
int X_CisAis | ( | long unsigned int | list_1_j, |
struct BindStruct * | X, | ||
long unsigned int | is1_spin | ||
) |
\(c_{is}\\dagger c_{is}\) term in Hubbard (canonical)
Definition at line 289 of file mltplyHubbardCore.c.
Referenced by child_CisAisCisAis_element(), child_CisAisCjtAku_element(), child_CisAjtCkuAku_element(), GC_child_CisAisCisAis_element(), GC_child_CisAisCjtAku_element(), GC_child_CisAjtCkuAku_element(), and X_child_CisAis_Hubbard_MPI().
int X_CisAjt | ( | long unsigned int | list_1_j, |
struct BindStruct * | X, | ||
long unsigned int | is1_spin, | ||
long unsigned int | is2_spin, | ||
long unsigned int | sum_spin, | ||
long unsigned int | diff_spin, | ||
long unsigned int * | tmp_off | ||
) |
Compute index of wavefunction of final state.
[in] | list_1_j | Similer to list_1 ? |
[in] | X | |
[in] | is1_spin | Mask for occupation of (is) |
[in] | is2_spin | Mask for occupation of (jt) |
[in] | sum_spin | Mask for hopping |
[in] | diff_spin | Mask for Fermion sign |
[in] | tmp_off | Index of wavefunction of final state |
Definition at line 400 of file mltplyHubbardCore.c.
References GetOffComp(), list_2_1, list_2_2, TRUE, X, and X_GC_CisAjt().
Referenced by child_CisAisCjtAku_element(), child_CisAjtCkuAku_element(), child_CisAjtCkuAlv_element(), GetPairExcitedStateHubbard(), and makeHam().
int X_GC_CisAjt | ( | long unsigned int | list_1_j, |
struct BindStruct * | X, | ||
long unsigned int | is1_spin, | ||
long unsigned int | is2_spin, | ||
long unsigned int | sum_spin, | ||
long unsigned int | diff_spin, | ||
long unsigned int * | tmp_off | ||
) |
Compute index of wavefunction of final state.
[in] | list_1_j | list_1 ? |
[in] | X | |
[in] | is1_spin | Mask for occupation of (is) |
[in] | is2_spin | Mask for occupation of (jt) |
[in] | sum_spin | Mask for hopping |
[in] | diff_spin | Mask for Fermion sign |
[out] | tmp_off | Index of wavefunction of final state |
Definition at line 432 of file mltplyHubbardCore.c.
References SgnBit().
Referenced by child_CisAjtCkuAlv_element(), GC_child_CisAisCjtAku_element(), GC_child_CisAjtCkuAku_element(), GC_child_CisAjtCkuAlv_element(), GetSgnInterAll(), X_child_CisAjtCkuAlv_Hubbard_MPI(), X_CisAjt(), and X_GC_child_CisAjtCkuAlv_Hubbard_MPI().