Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| forum:data:2020:stranger_things [2020/01/07 19:08] – Riccardo Piombo | forum:data:2020:stranger_things [2025/11/20 03:30] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| ;;# | ;;# | ||
| asked by [[mailto: | asked by [[mailto: | ||
| Line 6: | Line 6: | ||
| <WRAP center box 100%> | <WRAP center box 100%> | ||
| Hi every one, | Hi every one, | ||
| - | I wrote a simple code to calculate the chemical potential for the addition and for the removal of a particle. The system under consideration is a planar D4h structure composed | + | I wrote a simple code to calculate the chemical potential for the addition and for the removal of a particle. The system under consideration is a planar D4h structure composed |
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ||
| - | " | + | < |
| - | NF=20\\ | + | Verbosity(0) |
| - | NB=0\\ | + | |
| - | -- Silver 4d spin-orbitals\\ | + | NF=20 |
| - | IndexDn_4d={ 0, 2, 4, 6, 8}\\ | + | NB=0 |
| - | IndexUp_4d={ 1, 3, 5, 7, 9}\\ | + | |
| - | -- Fluorine 2p spin-orbitals\\ | + | |
| - | IndexDn_Ld={10, | + | |
| - | IndexUp_Ld={11, | + | |
| - | -- number of electrons in d-shell and Ligand-P shell\\ | + | -- Silver 4d spin-orbitals |
| - | n4d = 9\\ | + | IndexDn_4d={ 0, 2, 4, 6, 8} |
| - | nL = 10\\ | + | IndexUp_4d={ 1, 3, 5, 7, 9} |
| + | -- Fluorine 2p spin-orbitals | ||
| + | IndexDn_Ld={10, | ||
| + | IndexUp_Ld={11, | ||
| - | Udd = 5.0\\ | + | -- number of electrons in d-shell and Ligand-P shell |
| - | Delta_pd = 1.5\\ | + | n4d = 9 |
| - | Tpp = 0.4 \\ | + | nL = 10 |
| - | TdLb1g | + | |
| - | -- Racah parameters \\ | + | Udd = 5.0 |
| - | B = 0.09\\ | + | Delta_pd = 1.5 |
| - | C = 0.54\\ | + | Tpp = 0.4 |
| + | TdLb1g = 2.6 | ||
| - | -- Slater-Koster integrals for monopole and \\ | + | -- Racah parameters |
| - | -- multipole part of Coulomb interaction\\ | + | B = 0.09 |
| - | F2dd = 49.0*B + 7*C\\ | + | C = 0.54 |
| - | F4dd = 441.0*C/35.0\\ | + | |
| - | F0dd = Udd + (F2dd + F4dd)*2.0/63.0 \\ | + | |
| - | -- Onsite splitting | + | -- Slater-Koster integrals for monopole and |
| - | Eda1g = 0.0\\ | + | -- multipole part of Coulomb interaction |
| - | Edb1g = 0.0\\ | + | F2dd = 49.0*B + 7*C |
| - | Edb2g = 0.0\\ | + | F4dd = 441.0*C/35.0 |
| - | Edeg = 0.0\\ | + | F0dd = Udd + (F2dd + F4dd)*2.0/63.0 |
| - | -- Onsite splitting of the Ligand P shell \\ | + | -- Onsite splitting of the 4d shell |
| - | ELa1g = -Delta_pd - Tpp \\ | + | Eda1g = 0.0 |
| - | ELb1g = -Delta_pd + Tpp\\ | + | Edb1g = 0.0 |
| - | ELb2g = -Delta_pd - Tpp\\ | + | Edb2g = 0.0 |
| - | ELeg | + | Edeg |
| - | -- Hopping between | + | -- Onsite splitting of the Ligand |
| - | TdLa1g | + | ELa1g = -Delta_pd - Tpp |
| - | TdLb2g | + | ELb1g = -Delta_pd + Tpp |
| - | TdLeg | + | ELb2g = -Delta_pd - Tpp |
| + | ELeg | ||
| - | -- turning U and Delta to onsite energies\\ | + | -- Hopping between the Ligand |
| - | Delta_ZSA | + | TdLa1g |
| - | eL = (Udd*n4d*(1-n4d)/2.0 - n4d*(Delta_ZSA -Udd*n4d))/(n4d+nL)\\ | + | TdLb2g |
| - | ed = eL + Delta_ZSA - Udd*n4d \\ | + | TdLeg = TdLb1g/(2.0*sqrt(2.0)) |
| - | -- D4h Crystal field on 4d states\\ | + | -- turning U and Delta to onsite energies |
| + | Delta_ZSA = Delta_pd + Tpp/5.0 | ||
| + | eL = (Udd*n4d*(1-n4d)/ | ||
| + | ed = eL + Delta_ZSA - Udd*n4d | ||
| + | |||
| + | -- D4h Crystal field on 4d states | ||
| Akm_4d = {{0, 0, ed} , | Akm_4d = {{0, 0, ed} , | ||
| - | | + | {2, 0, Eda1g + (-1)*(Edb1g) + (-1)*(Edb2g) + Edeg} , |
| - | {4, 0, (3/ | + | {4, 0, (3/ |
| - | {4,-4, (3/ | + | {4,-4, (3/ |
| - | {4, 4, (3/ | + | {4, 4, (3/ |
| - | OppCF_4d = NewOperator(" | + | OppCF_4d = NewOperator(" |
| - | OppCF_4d.Name = " | + | OppCF_4d.Name = " |
| - | -- D4h Crystal field on Ligand-P states\\ | + | -- D4h Crystal field on Ligand-P states |
| Akm_L = {{0, 0, eL}, | Akm_L = {{0, 0, eL}, | ||
| - | {2, 0, ELa1g + (-1)*(ELb1g) + (-1)*(ELb2g) + ELeg} , | + | {2, 0, ELa1g + (-1)*(ELb1g) + (-1)*(ELb2g) + ELeg} , |
| - | | + | {4, 0, (3/ |
| - | | + | {4,-4, (3/ |
| - | | + | {4, 4, (3/ |
| - | OppCF_Ld = NewOperator(" | + | OppCF_Ld = NewOperator(" |
| - | OppCF_Ld.Name = " | + | OppCF_Ld.Name = " |
| - | -- Hopping t_pd\\ | + | -- Hopping t_pd |
| Akm_dL = {{0, 0, (1/ | Akm_dL = {{0, 0, (1/ | ||
| {2, 0, TdLa1g + (-1)*(TdLb1g) + (-1)*(TdLb2g) + TdLeg} , | {2, 0, TdLa1g + (-1)*(TdLb1g) + (-1)*(TdLb2g) + TdLeg} , | ||
| Line 90: | Line 92: | ||
| - | OppHopLd4d | + | OppHopLd4d |
| - | OppHopLd4d.Name = "P-d hybridization" | + | |
| + | OppHopLd4d.Name = "P-d hybridization" | ||
| - | -- Udd repulsion | + | -- Udd repulsion |
| - | OppF0 = NewOperator(" | + | OppF0 = NewOperator(" |
| - | OppF2 = NewOperator(" | + | OppF2 = NewOperator(" |
| - | OppF4 = NewOperator(" | + | OppF4 = NewOperator(" |
| - | OppUdd = F0dd*OppF0 + F2dd*OppF2 + F4dd*OppF4\\ | + | OppUdd = F0dd*OppF0 + F2dd*OppF2 + F4dd*OppF4 |
| - | -- Silver hamiltonian\\ | + | -- Silver hamiltonian |
| - | H_Ag = OppUdd + OppCF_4d | + | H_Ag = OppUdd + OppCF_4d |
| - | -- Fluorine hamiltonian\\ | + | -- Fluorine hamiltonian |
| - | H_F = OppCF_Ld\\ | + | H_F = OppCF_Ld |
| - | -- Ag + F Hamiltonian\\ | + | -- Ag + F Hamiltonian |
| - | H_Cluster = H_Ag + H_F\\ | + | H_Cluster = H_Ag + H_F |
| - | H_tot = H_Cluster + (-1)*OppHopLd4d\\ | + | H_tot = H_Cluster + (-1)*OppHopLd4d |
| - | -- Restrictions = {filling of nd electrons in 4d states, filling of nL electrons in Ligand-P states}\\ | + | -- Restrictions = {filling of nd electrons in 4d states, filling of nL electrons in Ligand-P states} |
| - | print("" | + | print("" |
| - | print(" | + | print(" |
| - | Npsi_i = 1\\ | + | Npsi_i = 1 |
| - | StartRestrictions1 = {NF, NB, {" | + | StartRestrictions1 = {NF, NB, {" |
| - | psiList_N = Eigensystem(H_tot, | + | psiList_N = Eigensystem(H_tot, |
| - | --psiList_N = {psiList_N}\\ | + | psiList_N = {psiList_N} |
| - | print(" | + | print(" |
| - | E_gs_N = psiList_N[1]*(H_tot)*psiList_N[1]\\ | + | E_gs_N = psiList_N[1]*(H_tot)*psiList_N[1] |
| - | print("" | + | print("" |
| - | print(" | + | print(" |
| - | -- initialization of the variables\\ | + | -- initialization of the variables |
| - | remove_mu = 0\\ | + | remove_mu = 0 |
| - | add_mu | + | add_mu |
| - | mean_mu = 0\\ | + | mean_mu = 0 |
| - | E_gs_Nminus1 = 0\\ | + | E_gs_Nminus1 = 0 |
| - | E_gs_Nplus1 = 0\\ | + | E_gs_Nplus1 = 0 |
| - | --####################### | + | -- chemical potential μ- to remove a particle |
| - | -- HERE SEEMS TO BE THE PROBLEM | + | -- ########################################################### |
| - | -- chemical potential μ- to remove a particle\\ | + | -- THE PROBLEM |
| - | print("" | + | print("" |
| - | print(" | + | print(" |
| - | StartRestrictions_rem = {NF, NB, {" | + | StartRestrictions_rem = {NF, NB, {" |
| - | psiList_Nminus1 = Eigensystem(H_tot, | + | psiList_Nminus1 = Eigensystem(H_tot, |
| - | psiList_Nminus1 = {psiList_Nminus1}\\ | + | psiList_Nminus1 = {psiList_Nminus1} |
| - | print(" | + | print(" |
| - | E_gs_Nminus1 = psiList_Nminus1[1]*(H_tot)*psiList_Nminus1[1]\\ | + | E_gs_Nminus1 = psiList_Nminus1[1]*(H_tot)*psiList_Nminus1[1] |
| - | remove_mu = E_gs_N - E_gs_Nminus1 | + | remove_mu = E_gs_N - E_gs_Nminus1 |
| - | print(" | + | print(" |
| - | print(" | + | print(" |
| - | print("" | + | print("" |
| - | --####################### | + | -- ########################################################### |
| - | -- chemical potential μ+ to add a particle\\ | + | -- chemical potential μ+ to add a particle |
| - | print(" | + | print(" |
| - | StartRestrictions_add = {NF, NB, {" | + | StartRestrictions_add = {NF, NB, {" |
| - | psiList_Nplus1 = Eigensystem(H_tot, | + | psiList_Nplus1 = Eigensystem(H_tot, |
| - | psiList_Nplus1 = {psiList_Nplus1}\\ | + | psiList_Nplus1 = {psiList_Nplus1} |
| print(" | print(" | ||
| - | \\ | ||
| - | E_gs_Nplus1 = psiList_Nplus1[1]*(H_tot)*psiList_Nplus1[1]\\ | ||
| - | add_mu = E_gs_Nplus1 - E_gs_N\\ | ||
| - | print(" | ||
| - | print(" | ||
| - | print("" | ||
| - | print(" | + | E_gs_Nplus1 = psiList_Nplus1[1]*(H_tot)*psiList_Nplus1[1] |
| - | " | + | add_mu = E_gs_Nplus1 - E_gs_N |
| + | print(" | ||
| + | print(" | ||
| + | print("" | ||
| + | |||
| + | -- mean μ --> Fermi energy is not defined in the experimental values | ||
| + | -- so we have to fix it and then freely translate the experimental spectrum along w axis | ||
| + | mean_mu = (add_mu + remove_mu)/ | ||
| + | print(" | ||
| + | |||
| + | </ | ||
| + | |||
| + | P.S: after some simulations, | ||
| + | the GS energy becomes -15.628822671742, | ||
| </ | </ | ||
| ~~DISCUSSION|Answers~~ | ~~DISCUSSION|Answers~~ | ||