Skip to content
Snippets Groups Projects
Commit d33b4053 authored by Johanna Zijderveld's avatar Johanna Zijderveld
Browse files

mention number of k-points chosne also in the order parameters section

parent 34242f16
No related branches found
No related tags found
1 merge request!7Examples
Pipeline #179688 passed
This commit is part of merge request !7. Comments created here will be created in the context of that merge request.
......@@ -136,7 +136,7 @@ cdw_order_parameter = {}
cdw_order_parameter[(0,0)] = np.kron(sz, np.eye(2))
```
We choose a point in the phase diagram where we expect there to be a CDW phase and calculate the expectation value with the CDW order parameter. In order to do this we first construct the density matrix from the mean field solution. We perform this calculation over the complete phase diagram where we calculated the gap earlier:
We choose a point in the phase diagram where we expect there to be a CDW phase and calculate the expectation value with the CDW order parameter. In order to do this we first construct the density matrix from the mean field solution. As the mean-field solution is in terms of a hopping dictionary, we can now freely choose the number of k-points on which we want to calculate the density-matrix. We perform this calculation over the complete phase diagram where we calculated the gap earlier:
```{code-cell} ipython3
cdw_list = []
......
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