Skip to content

Commit

Permalink
spt working for both tetracene dimer and tetramer
Browse files Browse the repository at this point in the history
  • Loading branch information
arnab82 committed Mar 25, 2024
1 parent a98fcbf commit 6a6516e
Show file tree
Hide file tree
Showing 7 changed files with 481 additions and 31,238 deletions.
30 changes: 0 additions & 30 deletions examples/tetracene_dimer/del.jl

This file was deleted.

54 changes: 0 additions & 54 deletions examples/tetracene_dimer/del2.jl

This file was deleted.

File renamed without changes.
File renamed without changes.
21 changes: 11 additions & 10 deletions examples/tetracene_dimer/spt_direct.jl
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,17 @@ FermiCG.add_double_excitons!(ci_vector,FermiCG.FockConfig(init_fspace),1)

#electron transfer states
fspace_0 = FermiCG.FockConfig(init_fspace)

# Spin-flip states
## ba
tmp_fspace = FermiCG.replace(fspace_0, (1,2), ([4,2],[2,4]))
FermiCG.add_fockconfig!(ci_vector, tmp_fspace)
ci_vector[tmp_fspace][FermiCG.TuckerConfig((1:1,1:1))]=FermiCG.Tucker(tuple([zeros(Float64, 1, 1) for _ in 1:nroots]...))
## ab
tmp_fspace = FermiCG.replace(fspace_0, (1,2), ([2,4],[4,2]))
FermiCG.add_fockconfig!(ci_vector, tmp_fspace)
ci_vector[tmp_fspace][FermiCG.TuckerConfig((1:1,1:1))]=FermiCG.Tucker(tuple([zeros(Float64, 1, 1) for _ in 1:nroots]...))
# FermiCG.add_1electron_transfers!(ci_vector, fspace_0, 1)
FermiCG.add_spin_flip_states!(ci_vector, fspace_0,1)
# # Spin-flip states
# ## ba
# tmp_fspace = FermiCG.replace(fspace_0, (1,2), ([4,2],[2,4]))
# FermiCG.add_fockconfig!(ci_vector, tmp_fspace)
# ci_vector[tmp_fspace][FermiCG.TuckerConfig((1:1,1:1))]=FermiCG.Tucker(tuple([zeros(Float64, 1, 1) for _ in 1:nroots]...))
# ## ab
# tmp_fspace = FermiCG.replace(fspace_0, (1,2), ([2,4],[4,2]))
# FermiCG.add_fockconfig!(ci_vector, tmp_fspace)
# ci_vector[tmp_fspace][FermiCG.TuckerConfig((1:1,1:1))]=FermiCG.Tucker(tuple([zeros(Float64, 1, 1) for _ in 1:nroots]...))
display(ci_vector.data)
FermiCG.eye!(ci_vector)
display(ci_vector)
Expand Down
Loading

0 comments on commit 6a6516e

Please sign in to comment.