Skip to content
Snippets Groups Projects
Commit 263c5960 authored by Antonio Manesco's avatar Antonio Manesco
Browse files

fix Bloch phase

parent 0db7facf
No related branches found
No related tags found
1 merge request!3create solvers and interface modules
This commit is part of merge request !3. Comments created here will be created in the context of that merge request.
......@@ -181,7 +181,7 @@ def model2hk(tb_model):
ham = 0
for vector in tb_model.keys():
ham += tb_model[vector] * np.exp(
1j * np.dot(k, np.array(vector, dtype=float))
-1j * np.dot(k, np.array(vector, dtype=float))
)
return ham
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment