mirror of
https://github.com/LCPQ/quantum_package
synced 2024-12-23 04:43:50 +01:00
Fixed density_matrix
This commit is contained in:
parent
7855e4c07b
commit
b236949b9c
@ -67,6 +67,7 @@ END_PROVIDER
|
|||||||
enddo
|
enddo
|
||||||
enddo
|
enddo
|
||||||
|
|
||||||
|
if (k == N_det) cycle
|
||||||
l = k+1
|
l = k+1
|
||||||
lrow = psi_bilinear_matrix_rows(l)
|
lrow = psi_bilinear_matrix_rows(l)
|
||||||
lcol = psi_bilinear_matrix_columns(l)
|
lcol = psi_bilinear_matrix_columns(l)
|
||||||
@ -90,7 +91,9 @@ END_PROVIDER
|
|||||||
lcol = psi_bilinear_matrix_columns(l)
|
lcol = psi_bilinear_matrix_columns(l)
|
||||||
enddo
|
enddo
|
||||||
|
|
||||||
l = psi_bilinear_matrix_order_reverse(k)+1
|
l = psi_bilinear_matrix_order_reverse(k)
|
||||||
|
if (l == N_det) cycle
|
||||||
|
l = l+1
|
||||||
! Fix alpha determinant, loop over betas
|
! Fix alpha determinant, loop over betas
|
||||||
lrow = psi_bilinear_matrix_transp_rows(l)
|
lrow = psi_bilinear_matrix_transp_rows(l)
|
||||||
lcol = psi_bilinear_matrix_transp_columns(l)
|
lcol = psi_bilinear_matrix_transp_columns(l)
|
||||||
|
Loading…
Reference in New Issue
Block a user