From 95eb916545bbe3691567a589c7dbe1c3b3f94172 Mon Sep 17 00:00:00 2001 From: guanjihuan Date: Fri, 3 Nov 2023 01:07:02 +0800 Subject: [PATCH] Update API_Reference.py --- API_Reference/API_Reference.py | 307 --------------------------------- 1 file changed, 307 deletions(-) diff --git a/API_Reference/API_Reference.py b/API_Reference/API_Reference.py index ca69dd7..17dcd81 100644 --- a/API_Reference/API_Reference.py +++ b/API_Reference/API_Reference.py @@ -2,33 +2,6 @@ import guan - - - - - - - - - - - - - - - - - - - - - - - - - - - # Module 1: basic functions guan.test() @@ -77,32 +50,6 @@ sigma_zz = guan.sigma_zz() - - - - - - - - - - - - - - - - - - - - - - - - - - # Module 2: Fourier transform # 通过元胞和跃迁项得到一维的哈密顿量(需要输入k值) @@ -145,31 +92,6 @@ b1, b2, b3 = guan.calculate_three_dimensional_reciprocal_lattice_vectors_with_sy - - - - - - - - - - - - - - - - - - - - - - - - - # Module 3: Hamiltonian of finite size systems # 构建一维的有限尺寸体系哈密顿量(可设置是否为周期边界条件) @@ -203,24 +125,6 @@ H0, H1, H2 = guan.get_onsite_and_hopping_terms_of_half_bhz_model_for_spin_up(A=0 H0, H1, H2 = guan.get_onsite_and_hopping_terms_of_half_bhz_model_for_spin_down(A=0.3645/5, B=-0.686/25, C=0, D=-0.512/25, M=-0.01, a=1) - - - - - - - - - - - - - - - - - - @@ -280,26 +184,6 @@ hamiltonian = guan.hamiltonian_of_kagome_lattice(kx, ky, t=1) - - - - - - - - - - - - - - - - - - - - # Module 5: band structures and wave functions @@ -334,30 +218,6 @@ vector1_array, vector2_array = guan.rotation_of_degenerate_vectors_array(vector1 - - - - - - - - - - - - - - - - - - - - - - - - # Module 6: Green functions # 输入哈密顿量,得到格林函数 @@ -400,34 +260,6 @@ G_n = guan.electron_correlation_function_green_n_for_local_current(fermi_energy, - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Module 7: density of states # 计算体系的总态密度 @@ -456,29 +288,6 @@ local_dos = guan.local_density_of_states_for_square_lattice_with_self_energy_usi - - - - - - - - - - - - - - - - - - - - - - - # Module 8: quantum transport # 计算电导 @@ -554,30 +363,6 @@ transmission_matrix_for_active_channels_averaged, reflection_matrix_for_active_c - - - - - - - - - - - - - - - - - - - - - - - - # Module 9: topological invariant # 通过高效法计算方格子的陈数 @@ -615,31 +400,6 @@ wilson_loop_array = guan.calculate_wilson_loop(hamiltonian_function, k_min='defa - - - - - - - - - - - - - - - - - - - - - - - - - # Module 10: plot figures # 导入plt, fig, ax @@ -698,30 +458,6 @@ color_array = guan.color_matplotlib() - - - - - - - - - - - - - - - - - - - - - - - - # Module 11: read and write # 将数据存到文件 @@ -772,22 +508,6 @@ guan.print_array_with_index(array, show_index=1, index_type=0) - - - - - - - - - - - - - - - - # Module 12: file processing @@ -859,33 +579,6 @@ guan.compress_wav_to_mp3(wav_path, output_filename='a.mp3', bitrate='16k') - - - - - - - - - - - - - - - - - - - - - - - - - - - # Module 13: data processing # 并行计算前的预处理,把参数分成多份