Skip to content

Commit 80b61f6

Browse files
authored
Merge pull request #205 from DaehoHan/xf-devel
Fix the reordering of phase gradients
2 parents 5977b62 + bffa8a8 commit 80b61f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dyn/dyn_decoherence_methods.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1540,7 +1540,7 @@ void rotate_nab_phase(dyn_variables& dyn_var, nHamiltonian& ham, dyn_control_par
15401540
phi.set(i,i, complex<double>(dyn_var.nab_phase[traj]->get(i, idof), 0.0) );
15411541
}
15421542
}
1543-
phi = T_new.H() * phi * T_new;
1543+
phi = T_new * phi * T_new.H();
15441544

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

0 commit comments

Comments
 (0)