GTBands
  • See Also
    • GTBandsPlot
    • GTBandStructure
    • GTBZPath
    • GTDensityOfStates
    • GTDensityOfStatesPlot
    • GTPhFields
    • GTPhMasterEquation
    • GTTbHamiltonian
    • GTFatBandsPlot
    • GTPartialDOS
  • Related Guides
    • Electronic Structure
    • The Mathematica Group Theory Package GTPack, V 1.4
  • Tech Notes
    • Tight-binding electronic structure of graphene
    • Electronic structure
    • See Also
      • GTBandsPlot
      • GTBandStructure
      • GTBZPath
      • GTDensityOfStates
      • GTDensityOfStatesPlot
      • GTPhFields
      • GTPhMasterEquation
      • GTTbHamiltonian
      • GTFatBandsPlot
      • GTPartialDOS
    • Related Guides
      • Electronic Structure
      • The Mathematica Group Theory Package GTPack, V 1.4
    • Tech Notes
      • Tight-binding electronic structure of graphene
      • Electronic structure

GTBands[Hamiltionian,kpoints,nev]

calculates the lowest nev band energies for a given Hamiltonian at certain kpoints.

Details and Options
Details and Options Details and Options
Examples  
Basic Examples  
Options  
GOEigenvectors  
GOPhotonic  
GOPlotBands  
Show More Show More
GOShift  
GOStore  
GOTbOrthogonal  
GOVerbose  
GODecimals  
Possible Issues  
See Also
Tech Notes
Related Guides
GROUP THEORY SYMBOL
  • See Also
    • GTBandsPlot
    • GTBandStructure
    • GTBZPath
    • GTDensityOfStates
    • GTDensityOfStatesPlot
    • GTPhFields
    • GTPhMasterEquation
    • GTTbHamiltonian
    • GTFatBandsPlot
    • GTPartialDOS
  • Related Guides
    • Electronic Structure
    • The Mathematica Group Theory Package GTPack, V 1.4
  • Tech Notes
    • Tight-binding electronic structure of graphene
    • Electronic structure
    • See Also
      • GTBandsPlot
      • GTBandStructure
      • GTBZPath
      • GTDensityOfStates
      • GTDensityOfStatesPlot
      • GTPhFields
      • GTPhMasterEquation
      • GTTbHamiltonian
      • GTFatBandsPlot
      • GTPartialDOS
    • Related Guides
      • Electronic Structure
      • The Mathematica Group Theory Package GTPack, V 1.4
    • Tech Notes
      • Tight-binding electronic structure of graphene
      • Electronic structure
GroupTheory`
GroupTheory`

GTBands

GTBands[Hamiltionian,kpoints,nev]

calculates the lowest nev band energies for a given Hamiltonian at certain kpoints.

Details and Options

  • The Hamiltonian represents a matrix eigenvalue problem resulting from tight-binding or plane wave theory in electronic structure problems or as a result of the master equation in photonics. Also phonons can be considered.
  • GTBands is used to decouple the calculation of the band structure from the plot. This is useful if large matrices have to be diagonalized as it is usually the case for photonic problems.
  • The band structure can be calculated along paths in the Brillouin zone, i.e. data for a band structure plot are generated. On the other hand the eigenvalues on a mesh in the irreducible part of the Brillouin zone can be calculated as a first step to calculate the density of states.
  • The following options can be given:
  • GODecimals 4Controls the number of fractional digits in tables.
    GOEigenvectors FalseControls whether the eigenvectors will be calculated.
    GOPhotonic FalseDistinguishes between photonic and electronic bandstructure calculation.
    GOPlotBands TrueControls calculation of energy bands in the Brillouin zone.
    GOShift 0Shift the energies by a fixed value.
    GOStore 0Controls output of bands and eigenvalues to files.
    GOTbOrthogonal TrueControls if the calculation is a standard or general eigenvalue problem.
    GOVerbose FalseControls the output of additional information.
  • See Possible Issues for a small change in version 1.2.
  • See: W. Hergert, M. Geilhufe, Group Theory in Solid State Physics and Photonics. Problem Solving with Mathematica, chapter 9.6.

Examples

open all close all

Basic Examples  (1)

First load the package :

Wolfram Language code: Needs["GroupTheory`"]

The Hamiltonian will be prepared.

Wolfram Language code: SetDirectory[NotebookDirectory[] <> "datasets"]; hfcc = GTReadFromFile["fcc_spd.ham"]; cu = GTTbDatabaseRetrieve["TB_parametersets/TB_Handbook", "Cu"];hfccp = hfcc /. GTTbParmToRule[cu];

A list of k-points will be prepared.

Wolfram Language code: kp = GTBZPath["fcc"]; kpl = GTBZLines[kp, {30, 30, 30, 30, 30, 30}];

The bands are calculated along the path.

Wolfram Language code: bands = GTBands[hfccp, kpl, 9];

This result can be used immediately to plot the band structure of Cu.

Wolfram Language code: GTBandsPlot[bands, 9, PlotRange -> {{0, 4.5}, {-.2, .6}}, Joined -> True]

Options  (8)

GOEigenvectors  (1)

The Hamiltonian will be prepared.

Wolfram Language code: SetDirectory[NotebookDirectory[] <> "datasets"]; hfcc = GTReadFromFile["fcc_spd.ham"]; cu = GTTbDatabaseRetrieve["TB_parametersets/TB_Handbook", "Cu"];hfccp = hfcc /. GTTbParmToRule[cu];

With the option GOEigenvectors  True the eigenvectors are also calculated.

Wolfram Language code: kp = {{{0, 0, 0}, {0, 0, 1}, {0, (1/2), 1}, {(1/2), (1/2), (1/2)}}, {"Γ", "X", "W", "L"}}; kps = GTBZLines[kp, {2, 2, 2, 2}];bands = GTBands[hfccp, kps, 9, GOVerbose -> True, GOEigenvectors -> True]

The eigenvalues as well as the eigenvectors are returned.

GOPhotonic  (1)

Photonic band structures can also be calculated. A circular rod in a quadratic unit cell is defined according to the rules in GTPhDCObjects.

Wolfram Language code: ra = 0.2;structure = {{"CircularRod", 8.9, {π ra ^ 2, ra, ra, 0, 0}, {0, 0, 0}}};basvec = {{1, 0}, {0, 1}};eback = 1;

The reciprocal lattice vectors for the quadratic lattice will be calculated.

Wolfram Language code: clat = GTLatCluster[basvec, 9];gvec = GTLatShells[clat, GOSort -> True];

Now the master equation can be constructed for TE polarization.

Wolfram Language code: hop = GTPhMasterObjects[structure, eback, gvec, GOPhPol -> "TE"];

The path in the Brillouin zone for the plot of the photonic band structure is calculated.

Wolfram Language code: kp = GTBZPath["SquareLattice"];kpts = GTBZLines[kp, {15, 15, 15}];

The photonic bands for TE polarization are calculated and presented.

Wolfram Language code: bands = GTBands[hop, kpts, 6, GOPhotonic -> True, GOVerbose -> True];

GOPlotBands  (1)

The Hamiltonian will be prepared.

Wolfram Language code: SetDirectory[NotebookDirectory[] <> "datasets"]; hfcc = GTReadFromFile["fcc_spd.ham"]; cu = GTTbDatabaseRetrieve["TB_parametersets/TB_Handbook", "Cu"];hfccp = hfcc /. GTTbParmToRule[cu];

GOPlotBands is used to indicate, which type of calculation will be done. The option has to be set to False, if a DOS calculation is planned.

Wolfram Language code: kpts = GTBZPointMesh[5, 1, "fcc"];
Wolfram Language code: bands = GTBands[hfccp, kpts, 9, GOPlotBands -> False];
Wolfram Language code: parm = {-.2, 1.8, 601, .0, 1};GTDensityOfStatesPlot[bands, parm]

GOShift  (1)

Prepare the Hamiltonian:

Wolfram Language code: SetDirectory[NotebookDirectory[] <> "datasets"]; hfcc = GTReadFromFile["fcc_spd.ham"]; cu = GTTbDatabaseRetrieve["TB_parametersets/TB_Handbook", "Cu"];hfccp = hfcc /. GTTbParmToRule[cu];

And a list of k-points:

Wolfram Language code: kp = GTBZPath["fcc"]; kpl = GTBZLines[kp, {10, 10, 10, 10, 10, 10}];

The whole band structure can be shifted. As default the minimum energy is shifted to zero.

Wolfram Language code: bands = GTBands[hfccp, kpl, 9, GOVerbose -> True, GOShift -> -0.11302];

GOStore  (1)

Preparation of data analogous to GOPhotonic.

Wolfram Language code: structure = {{"CircularRod", 8.9, {π 0.2 ^ 2, 0.2, 0.2, 0, 0}, {0, 0, 0}}}; gvec = GTLatShells[GTLatCluster[{{1, 0}, {0, 1}}, 9], GOSort -> True]; hop = GTPhMasterObjects[structure, 1, gvec, GOPhPol -> "TE"]; kpts = GTBZLines[GTBZPath["SquareLattice"], {15, 15, 15}];

The results of the calculations can be stored in files for later use.

Wolfram Language code: SetDirectory[$TemporaryDirectory];
Wolfram Language code: GTBands[hop, kpts, 6, GOPhotonic -> True, GOVerbose -> True, GOStore -> "RodInSquare.bnd"];

GOTbOrthogonal  (1)

In a non-orthogonal TB problem the Hamiltonian matrix and the overlap matrix define a general eigenvalue problem. As a simple example the orthogonal eigenvalue problem will be considered as a non-orthogonal one, providing a identity matrix as overlap matrix.

Wolfram Language code: sfccp = IdentityMatrix[9];

Prepare the correct Hamiltonian:

Wolfram Language code: SetDirectory[NotebookDirectory[] <> "datasets"]; hfcc = GTReadFromFile["fcc_spd.ham"]; cu = GTTbDatabaseRetrieve["TB_parametersets/TB_Handbook", "Cu"];hfccp = hfcc /. GTTbParmToRule[cu];

Plot the structure of the matrices:

Wolfram Language code: basis = {{"Cu", 1, {0, 1, 2}}};hm = GTHamiltonianPlot[hfccp, basis];sm = GTHamiltonianPlot[sfccp, basis];Grid[{{hm, sm}}]

The results should be the same as before.

Wolfram Language code: kp = {{{0, 0, 0}, {0, 0, 1}, {0, (1/2), 1}, {(1/2), (1/2), (1/2)}}, {"Γ", "X", "W", "L"}}; kps = GTBZLines[kp, {2, 2, 2, 2}]; bands = GTBands[hfccp, kps, 9, GOVerbose -> True];

Two matrices are necessary if GTTbOrthogonal is False

Wolfram Language code: bands = GTBands[hfccp, kps, 9, GOVerbose -> True, GOTbOrthogonal -> False]
Wolfram Language code: bands = GTBands[{hfccp, sfccp}, kps, 9, GOVerbose -> True, GOTbOrthogonal -> False];

GOVerbose  (1)

Prepare the Hamiltonian:

Wolfram Language code: SetDirectory[NotebookDirectory[] <> "datasets"]; hfcc = GTReadFromFile["fcc_spd.ham"]; cu = GTTbDatabaseRetrieve["TB_parametersets/TB_Handbook", "Cu"];hfccp = hfcc /. GTTbParmToRule[cu];

GOVerbose provides additional information. If bands along a BZ path are calculated, a table with the energies at the symmetry points will be presented.

Wolfram Language code: kp = GTBZPath["fcc"]; kpl = GTBZLines[kp, {10, 10, 10, 10, 10, 10}];bands = GTBands[hfccp, kpl, 9, GOVerbose -> True];

If the eigenvalues are calculated on a mesh, the results at all mesh points are given. Option GOPlotBands has to be used in this case.

Wolfram Language code: kpts = GTBZPointMesh[1, 1, "fcc"];
Wolfram Language code: bands = GTBands[hfccp, kpts, 9, GOVerbose -> True, GOPlotBands -> False];

GODecimals  (1)

The output in the table can be customized. The number of digits in the table can be used to print larger tables in a handy form for an overview or to get more precise output for only a few numbers.

The Hamiltonian will be prepared.

Wolfram Language code: SetDirectory[NotebookDirectory[] <> "datasets"]; hfcc = GTReadFromFile["fcc_spd.ham"]; cu = GTTbDatabaseRetrieve["TB_parametersets/TB_Handbook", "Cu"];hfccp = hfcc /. GTTbParmToRule[cu];

With the option the output style of the numbers can be changed.

Wolfram Language code: kp = {{{0, 0, 0}, {0, 0, 1}, {0, (1/2), 1}, {(1/2), (1/2), (1/2)}}, {"Γ", "X", "W", "L"}}; kps = GTBZLines[kp, {2, 2, 2, 2}];bands = GTBands[hfccp, kps, 9, GOVerbose -> True];
Wolfram Language code: bands = GTBands[hfccp, kps, 3, GOVerbose -> True, GODecimals -> 6];

Possible Issues  (1)

In version 1.2. the output into a file is slightly changed, if band structure data are store. Now also the k-path is stored to the file.

Wolfram Language code: SetDirectory[$TemporaryDirectory];
Wolfram Language code: kp = GTBZPath["fcc"]; kpl = GTBZLines[kp, {10, 10, 10, 10, 10, 10}];

The bands are calculated along the path.

Wolfram Language code: bands = GTBands[hfccp, kpl, 9, GOStore -> "Cu_Bands.dat"];
Wolfram Language code: bands = GTReadFromFile["Cu_Bands.dat"];

The stored data are collected in a list of two parts. the first part contains the band structure as before.

Wolfram Language code: bands//Length
Wolfram Language code: bands[[1, 49 ;; 50]] bands[[2]]

The second part contains information about the k-path. Thus, the stored data have the correct form for a band structure plot.

Wolfram Language code: GTBandsPlot[bands, 9, PlotRange -> {{0, 4.5}, {-.2, .6}}, Joined -> True]

See Also

GTBandsPlot  GTBandStructure  GTBZPath  GTDensityOfStates  GTDensityOfStatesPlot  GTPhFields  GTPhMasterEquation  GTTbHamiltonian  GTFatBandsPlot  GTPartialDOS

Tech Notes

    ▪
  • Tight-binding electronic structure of graphene
  • ▪
  • Electronic structure

Related Guides

    ▪
  • Electronic Structure
  • ▪
  • The Mathematica Group Theory Package GTPack, V 1.4
Not Found - Wolfram Cloud