Plot eigenvectors of a closed system2
Dear all, For the plot eigenvectors of a closed system in Tutorial 2.7.1. def plot_data(sys, n): import scipy.linalg as la sys = sys.finalized() ham = sys.hamiltonian_submatrix() evecs = la.eigh(ham)[1] wf = abs(evecs[:, n])**2 .... What is the value for n, how to choose the appropriate one? I have tried different values and it gives completely different figures. Thanks in advance Weiyuan
Dear Weiyan, n is the number of the eigenvector that you want to plot, and naturally different eigenvectors look differently. Best, Anton On Wed, Dec 23, 2015 at 11:08 AM, Weiyuan Tong <weiyuantongtrans@gmail.com> wrote:
Dear all, For the plot eigenvectors of a closed system in Tutorial 2.7.1. def plot_data(sys, n): import scipy.linalg as la
sys = sys.finalized() ham = sys.hamiltonian_submatrix() evecs = la.eigh(ham)[1]
wf = abs(evecs[:, n])**2 .... What is the value for n, how to choose the appropriate one? I have tried different values and it gives completely different figures. Thanks in advance Weiyuan
participants (2)

Anton Akhmerov

Weiyuan Tong