Eötvös Quantum Utilities  v4.9.146
Providing the Horsepowers in the Quantum Realm
CalculateTransporSpecq.m
Go to the documentation of this file.
1 % Calculates the conductance for specific transverse momentums - based on EQuUs v4.8
2 % Copyright (C) 2016 Peter Rakyta, Ph.D.
3 %
4 % This program is free software: you can redistribute it and/or modify
5 % it under the terms of the GNU General Public License as published by
6 % the Free Software Foundation, either version 3 of the License, or
7 % (at your option) any later version.
8 %
9 % This program is distributed in the hope that it will be useful,
10 % but WITHOUT ANY WARRANTY; without even the implied warranty of
11 % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 % GNU General Public License for more details.
13 %
14 % You should have received a copy of the GNU General Public License
15 % along with this program. If not, see http://www.gnu.org/licenses/.
16 %
17 %> @file CalculateTransporSpecq.m
18 %> @brief Function to calculate the DC transverse momentum resolved conductivity in the zero temperature limit.
19 %
20 %
21 %> @brief Function to calculate the DC transverse momentum resolved conductivity in the zero temperature limit.
22 %> @param qvec The transverse momentum number.
23 %> @param width_uc The width of the unit cell.
24 %> @param height The length of the junction
25 %> @param Energy The energy relative to the Fermi level
26 %> @param EF The Fermi level
27 %> @param Opt An instance of structure #Opt
28 %> @param param An instance of structure #param
29 %> @param outputXML The absolute path to the output XML
30 %> @param FiniteGreensFunctionFromHamiltonian Logical value. Set true to calculate the conductivity using EQuUs MKL component, or false to use the fast method (see PRB 90, 125428 (2014)).
31 %> @return Returns with the calculated conductivity for the given transverse momentum number.
32  function Cq = CalculateTransporSpecq( qvec, width_uc, height, Energy, EF, Opt, param, outputXML, FiniteGreensFunctionFromHamiltonian )
33  Cq = zeros(size(qvec));
34 
35  for idx = 1:length(qvec)
36  q = qvec(idx);
37  ribbon_hamiltonian = Ribbon('width', width_uc, 'height', height, 'E', Energy, 'EF', EF, 'Opt', Opt, 'param', param, 'filenameOut', outputXML, 'q', q, 'silent', true );
38 
39  [~,~,C_tmp] = ribbon_hamiltonian.Transport( Energy, 'constant_channels',true, 'gfininvfromHamiltonian', FiniteGreensFunctionFromHamiltonian );
40  Cq(idx) = C_tmp;
41  end
42 
43  end
function CalculateTransporSpecq(qvec, width_uc, height, Energy, EF, Opt, param, outputXML, FiniteGreensFunctionFromHamiltonian)
Function to calculate the DC transverse momentum resolved conductivity in the zero temperature limit.
Structure Opt contains the basic computational parameters used in EQuUs.
Definition: structures.m:60
A class for calculations on a ribbon of finite width for equilibrium calculations mostly in the zero ...
Definition: Ribbon.m:34
Structure param contains data structures describing the physical parameters of the scattering center ...
Definition: structures.m:45