Skip to content

Commit

Permalink
Merge pull request #205 from DaehoHan/xf-devel
Browse files Browse the repository at this point in the history
Fix the reordering of phase gradients
  • Loading branch information
alexvakimov authored Mar 2, 2024
2 parents 5977b62 + bffa8a8 commit 80b61f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dyn/dyn_decoherence_methods.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1540,7 +1540,7 @@ void rotate_nab_phase(dyn_variables& dyn_var, nHamiltonian& ham, dyn_control_par
phi.set(i,i, complex<double>(dyn_var.nab_phase[traj]->get(i, idof), 0.0) );
}
}
phi = T_new.H() * phi * T_new;
phi = T_new * phi * T_new.H();

for(int i=0; i<nst; i++){
if(is_mixed[i]==1){
Expand Down

0 comments on commit 80b61f6

Please sign in to comment.