Eötvös Quantum Utilities
v4.9.146
Providing the Horsepowers in the Quantum Realm
|
A class to calculate the I-V curve for a two terminal setup, based on the non-equilibrium Greens function technique of Eur. More...
Public Member Functions | |
function | diagInv (A) |
Calculates the diagonal part of the inverse of a sparse matrix. More... | |
function | display (message, nosilent) |
Displays output messages on the screen. More... | |
function | eig (A, B) |
Calculates the generalized eigenvalue problem based on the zggev and dggev LAPACK functions. More... | |
function | Fermi (E) |
A function of the Fermi-Dirac statistics. More... | |
function | getOpt () |
Retrives the structure containing the calculation parameters. More... | |
function | getProgramName () |
Gets the name of the package. More... | |
function | getProgramShortName () |
Gets the short name of the package. More... | |
function | getVersion () |
Gets the current version of the package. More... | |
function | IsDeployedMKL () |
Checks whether the MKL component is deployed. More... | |
function | IV (Opt, varargin) |
Constructor of the class. More... | |
function | IVcalc (varargin) |
Calculates the current-voltage relation as a function of the bias. More... | |
function | partialInv (A, sizeInv) |
Calculates a partial inverse of a sparse matrix. More... | |
function | SetEnergy (newE, varargin) |
Sets the energy for the calculations. More... | |
function | setTemperature (T) |
Sets the temperature for the calculations. More... | |
function | xmlread (filename) |
Function to load XML files (based on xerces libraries), providing octave compatibility. More... | |
function | xmlwrite (filename, DOM) |
Function to export XML files (based on xerces libraries), providing octave compatibility. More... | |
Static Public Member Functions | |
static function | BadInputType (variable, type) |
Throws a "bad input type" warning, with using the default value. More... | |
static function | BadInputTypeNoDefault (variable, type) |
Throws a "bad input type" warning without setting it to default. More... | |
static function | checkMEXfile (fncname) |
Checks the presence of a given MEX file. More... | |
static function | ExceedIteration () |
Throws an "iteration exceeded" warning. More... | |
static function | inv_SVD (A) |
Inverts badly conditioned matrix A with SVD regularization. More... | |
static function | isOctave () |
Checks whether the running environment is matlab or octave. More... | |
static function | SimphsonInt (y, h) |
Simphson integral: y is a vector of function values at equal distant points: y_i = f(x_i), x_i-x_{i-1}=h. More... | |
Public Attributes | |
Property | BandWidth |
An instance of structure BandWidth. More... | |
Property | gfininvfromHamiltonian |
logical value. Set true for calculate the Greens function of the scattering region from Hamiltonian, or false (default) otherwise. More... | |
Property | junction |
An instance of class NTerminal (or its subclass) representing the junction. More... | |
Property | scatterPotential |
Function handle pot = f(#coordinates) for the additional potential to be applied in the scattering region. More... | |
Property | useSelfEnergy |
logical value. Set true (default) for solve the Dyson equation with the self energies, or false otherwise. More... | |
Property | varargin |
cell array of optional parameters. (For details see InputParsing) More... | |
Protected Member Functions | |
function | create_scatter_GreensFunction (varargin) |
Calculates the surface Green operator of the scattering region. More... | |
function | CreateEnergyArray (varargin) |
Creates the array of energy values for the integration. More... | |
function | currentcalc (differentialConductance, Evec, tuned_contact) |
Calculates the current by integrating the differential conductance in a bias window. More... | |
function | DifferentialConductanceT0 (Energy, junction) |
Calculates the zero temperature differential conductance for a given energy. More... | |
function | InputParsing (varargin) |
Parses the optional parameters for the class constructor. More... | |
Protected Attributes | |
Property | beta |
More... | |
Property | bias_max |
The maximal bias to be used in the calculations. More... | |
Property | DeployedMKL |
True if MKL component is built, false otherwise. More... | |
Property | Edb |
The number of the energy points in the attribute Evec. More... | |
Property | Evec |
The energy array used in the calculations. More... | |
Property | k_B |
Boltzmann constant in eV/K. More... | |
Property | MaxSize |
Maximal size of full matrixes to be handled. More... | |
Property | mu |
The Chemical potential in the same unit as other energy scales in the Hamiltonians. More... | |
Property | Opt |
An instance of structure Opt. More... | |
Property | ProgramName |
Name of the package. More... | |
Property | ProgramShortName |
Short name of the package. More... | |
Property | T |
The temperature in Kelvin. More... | |
Property | T_treshold |
treshold temperature (makes difference between T=0 and T>0) More... | |
Property | version |
The current version of the package. More... | |
A class to calculate the I-V curve for a two terminal setup, based on the non-equilibrium Greens function technique of Eur.
Phys. J. B 53, 537-549 (2006)
EQuUs v4.8 or later
Constructor of the class.
Opt | an instance of class Opt. |
varargin | Cell array of optional parameters. For details see InputParsing. |
|
staticinherited |
Throws a "bad input type" warning, with using the default value.
variable | A string conatining the name of the variable. |
type | A string describing the desired type. |
|
staticinherited |
Throws a "bad input type" warning without setting it to default.
variable | A string conatining the name of the variable. |
type | A string describing the desired type. |
|
staticinherited |
Checks the presence of a given MEX file.
fncname | The name of the function. |
Calculates the surface Green operator of the scattering region.
varargin | Cell array of optional parameters (https://www.mathworks.com/help/matlab/ref/varargin.html): |
'gauge_trans' | Logical value. Set true (default) to perform gauge transformation on the Green's function and on the Hamiltonians, or false otherwise. |
'junction' | An instance of class NTerminal or its subclass. |
Creates the array of energy values for the integration.
varargin | Cell array of optional parameters (https://www.mathworks.com/help/matlab/ref/varargin.html): |
'tuned_contact' | String value. Identifies the tuned contact for the calculations. Possible values are: 'right', 'left', 'symmetric'. |
Calculates the current by integrating the differential conductance in a bias window.
differentialConductance | Array of differential conductance |
Evec | Array of energy values |
tuned_contact | String value. Identifies the tuned contact for the calculations. Possible values are: 'right', 'left', 'symmetric'. |
|
inherited |
Calculates the diagonal part of the inverse of a sparse matrix.
If MKL component is advised to build.
A | A sparse matrix to be inverted |
Calculates the zero temperature differential conductance for a given energy.
Energy | The energy value (use the same units as in the Hamiltonian) |
junction | An instance of class NTerminal or its subclass. |
|
inherited |
Displays output messages on the screen.
message | String containing the message to be displayed |
nosilent | Set true to override the silent option given in Opt.Silent. |
|
inherited |
Calculates the generalized eigenvalue problem based on the zggev and dggev LAPACK functions.
A | A square matrix on the left side. |
B | A square matrix on the right side. |
|
staticinherited |
Throws an "iteration exceeded" warning.
|
inherited |
A function of the Fermi-Dirac statistics.
E | The energy value in eV (scalar or an array of energy values). |
|
inherited |
Retrives the structure containing the calculation parameters.
|
inherited |
Gets the name of the package.
|
inherited |
Gets the short name of the package.
|
inherited |
Gets the current version of the package.
Parses the optional parameters for the class constructor.
varargin | Cell array of optional parameters (https://www.mathworks.com/help/matlab/ref/varargin.html): |
'T' | The temperature in Kelvin (scalar or an array) |
'scatterPotential' | A function handle pot=f( #coordinates ) or pot=f( CreateHamiltonians, Energy) for the potential to be applied in the Hamiltonian (used when FiniteGreensFunctionFromHamiltonian=true). |
'gfininvfromHamiltonian' | Logical value. Set true calculate the surface Greens function of the scattering region from the Hamiltonaian of the scattering region, or false (default) to calculate it by the fast way (see Phys. Rev. B 90, 125428 (2014) for details). |
'useSelfEnergy' | Logical value. Set true to use the self energies of the leads in the Dyson equation, or false (default) to use the surface Green function instead. |
'junction' | An instance of class NTerminal (or its derived class) representing the junction. |
'bias_max' | The maximal bias to be used in the calculations |
'Edb' | The number of the energy points in the attribute Evec |
|
staticinherited |
Inverts badly conditioned matrix A with SVD regularization.
A | A square matrix to be inverted. |
|
inherited |
Checks whether the MKL component is deployed.
|
staticinherited |
Checks whether the running environment is matlab or octave.
Calculates the current-voltage relation as a function of the bias.
varargin | Cell array of optional parameters (https://www.mathworks.com/help/matlab/ref/varargin.html): |
'tuned_contact' | String value. Identifies the tuned contact for the calculations. Possible values are: 'right', 'left', 'symmetric'. |
|
inherited |
Calculates a partial inverse of a sparse matrix.
If MKL component is not developed, the backslash operator is used insted.
A | A sparse matrix to be inverted |
sizeInv | The size of partial inverse to be calculated. |
Sets the energy for the calculations.
newE | The value of the energy in the same units as the Hamiltonian. |
varargin | Cell array of optional parameters (https://www.mathworks.com/help/matlab/ref/varargin.html): |
'junction' | An instance of class NTerminal (or its derived class) representing the junction. |
Sets the temperature for the calculations.
T | The temperature in Kelvin (scalar or an array) |
|
staticinherited |
Simphson integral: y is a vector of function values at equal distant points: y_i = f(x_i), x_i-x_{i-1}=h.
y | Function values to be integrated |
h | Increment between the x_i points. |
|
inherited |
Function to load XML files (based on xerces libraries), providing octave compatibility.
filename | Absolute path to the file to be opened. (In matlab relative path is sufficient) |
|
inherited |
Function to export XML files (based on xerces libraries), providing octave compatibility.
filename | Absolute path to the file to be opened. (In matlab relative path is sufficient) |
DOM | The loaded document object model (see http://www.mathworks.com/help/matlab/ref/xmlread.html#outputarg_DOMnode for details.) |
|
inherited |
An instance of structure BandWidth.
Definition at line 36 of file UtilsBase.m.
|
protectedinherited |
Definition at line 38 of file FermiDirac.m.
|
protected |
|
protectedinherited |
True if MKL component is built, false otherwise.
Definition at line 32 of file CommonFunctions.m.
|
protected |
|
protected |
|
inherited |
logical value. Set true for calculate the Greens function of the scattering region from Hamiltonian, or false (default) otherwise.
Definition at line 45 of file UtilsBase.m.
|
inherited |
An instance of class NTerminal (or its subclass) representing the junction.
Definition at line 33 of file UtilsBase.m.
|
protectedinherited |
Boltzmann constant in eV/K.
Definition at line 32 of file FermiDirac.m.
|
protectedinherited |
Maximal size of full matrixes to be handled.
Definition at line 44 of file CommonFunctions.m.
|
protectedinherited |
The Chemical potential in the same unit as other energy scales in the Hamiltonians.
Definition at line 44 of file FermiDirac.m.
|
protectedinherited |
An instance of structure Opt.
Definition at line 31 of file Messages.m.
|
protectedinherited |
Name of the package.
Definition at line 38 of file CommonFunctions.m.
|
protectedinherited |
Short name of the package.
Definition at line 41 of file CommonFunctions.m.
|
inherited |
Function handle pot = f(#coordinates) for the additional potential to be applied in the scattering region.
Definition at line 42 of file UtilsBase.m.
|
protectedinherited |
The temperature in Kelvin.
Definition at line 35 of file FermiDirac.m.
|
protectedinherited |
treshold temperature (makes difference between T=0 and T>0)
Definition at line 41 of file FermiDirac.m.
|
inherited |
logical value. Set true (default) for solve the Dyson equation with the self energies, or false otherwise.
Definition at line 39 of file UtilsBase.m.
|
inherited |
cell array of optional parameters. (For details see InputParsing)
Definition at line 48 of file UtilsBase.m.
|
protectedinherited |
The current version of the package.
Definition at line 35 of file CommonFunctions.m.