Scattering Matrix and Scattering States
On this page
The transmission \(T_{pq}\) is a sum over channels (The Caroli formula). Four refinements resolve it. The scattering matrix gives the amplitude, with its phase, from each incoming mode of a lead into each outgoing mode of every lead. The transmission eigenvalues give how the transmission is shared among channels, and with them the shot noise. The scattering states are the wave functions that each lead injects, on the whole device: from them come the occupations, the spin densities and the bond currents. The sector transmissions split \(T_{pq}\) according to a quantity that the leads conserve, such as spin, or electron and hole. The nested solvers compute all of them from the root of their elimination (Nested Dissection).
The scattering matrix
The leads seen from the device
For the scattering matrix every lead is described from the device outwards: cells \(n = 1, 2, \dots\) going away from it, the cell Hamiltonian \(H_0\), the hopping \(H_1 = \langle n \rvert H \lvert n + 1 \rangle\) to the next cell further away, and the coupling \(V = \langle D \rvert H \lvert 1 \rangle\) of the device to the first cell. For the left lead of a two-terminal device, \(H_1 = V = h_{01}^{\dagger}\) (its cells run towards \(-\infty\)); for the right lead, \(H_1 = V = h_{01}\); for the leads of NestedMultiTerminal, the \(h_{01}\) and the coupling of each attached lead.
In this frame the outgoing modes are the right-going propagating modes of the lead (Lead Modes and Self-Energies), the incoming ones the left-going propagating modes, all normalised to unit current: \(J(\varphi_a, \varphi_b) = \pm \delta_{ab}\). Let \(F\) be the Bloch matrix of the outgoing and decaying modes, \(\chi_{n+1} = F \chi_n\). Then \(H_1 F\) is the self-energy of cells \(2, 3, \dots\) on the first cell, \(g = (E - H_0 - H_1 F)^{-1}\) the surface Green's function, and \(\Sigma = V g V^{\dagger}\) the self-energy on the device.
An incoming mode and the waves it scatters into
Send the incoming mode \(\varphi\), of Bloch factor \(\lambda\), down lead \(q\). In that lead the wave is the incoming mode plus outgoing and decaying waves, \(\psi_n = \varphi\, \lambda^n + \chi_n\) with \(\chi_{n+1} = F \chi_n\) for \(n \geq 1\); in the other leads only \(\chi_n\). The equation of the first lead cell,
$$ (E - H_0)\, \psi_1 - V^{\dagger} \psi_D - H_1\, \psi_2 = 0, $$
with the bulk equation that the incoming mode satisfies at \(n = 1\), \((E - H_0)\, \varphi \lambda - H_1 \varphi \lambda^2 = H_1^{\dagger} \varphi\), gives \(\chi_1 = g\, (V^{\dagger} \psi_D - H_1^{\dagger} \varphi)\). Put into the equation of the device, the leads become their self-energies, and the incoming mode a source:
$$ (E - H - \Sigma)\, \psi_D = V_q\, s, \qquad s = (\lambda - g\, H_1^{\dagger})\, \varphi, \qquad \psi_D = G\, V_q\, s. $$
The outgoing wave on the first cell of lead \(p\) is \(\chi_1 = g_p V_p^{\dagger}\, \psi_D\), minus \(g\, H_1^{\dagger} \varphi\) in the incoming lead \(q\) itself. Its amplitude on the outgoing mode \(a\) is its current overlap with it, \(J(a, \chi)\), with \(a_n = \varphi_a \lambda_a^n\) and \(H_1 \chi_2 = H_1 F \chi_1\):
$$ S_{pq,ab} = J(a, \chi) = i\, \bar\lambda_a \big[\, \varphi_a^{\dagger}\, (H_1 F)\, \chi_1 - \bar\lambda_a\, \varphi_a^{\dagger} H_1^{\dagger}\, \chi_1 \,\big]. $$
The overlap picks out one mode: by current conservation, \(J(a, b)\) carries the factor \((\bar\lambda_a \lambda_b)^n\) and vanishes between the outgoing mode \(a\) and any other outgoing or decaying mode, while \(J(a, a) = 1\). Within a degenerate group, the modes were chosen to carry no cross current (Propagating modes).
In the code all the incoming modes of a lead are sent at once, as the columns of a matrix of sources, and all the outgoing modes of a lead are projected at once. The blocks of \(G\) between the orbitals that the leads touch come from the inverse of the root's Schur complement. SMatrix holds blocks[p][q], the amplitudes into the outgoing modes of lead \(p\) (rows) from the incoming modes of lead \(q\) (columns), and the Bloch factors of the incoming and outgoing modes of each lead. full() assembles the whole matrix, and transmission(p, q) gives \(\sum \lvert S_{pq} \rvert^2\), a reflection for \(p = q\). With independent blocks of orbitals, the modes of a lead are those of every block in turn, and the blocks do not mix. NestedTwoTerminal::smatrix numbers the left lead 0 and the right lead 1.
Unitarity and the transmissions
All modes carrying unit current, conservation of the current makes \(S\) unitary, and square: each lead has as many incoming as outgoing propagating modes. Its blocks give the transmissions of the Caroli formula (Fisher and Lee, 1981):
$$ S^{\dagger} S = 1, \qquad \sum_{a, b} \lvert S_{pq,ab} \rvert^2 = T_{pq} \quad (p \neq q), \qquad \sum_{a, b} \lvert S_{pp,ab} \rvert^2 = R_p = N_p - \sum_{q \neq p} T_{pq}. $$
The phases of \(S\) depend on the phases of the mode vectors, on the basis chosen within a degenerate group, and on the numbering of the cells from the device; the moduli of non-degenerate entries, the transmissions and the transmission eigenvalues do not. The matrix is that of kwant.smatrix, up to these choices: a comparison with Kwant compares quantities that do not depend on them.
Test (caroli-green) | System | Asserted |
|---|---|---|
scattering_matrix | Disordered square cross (9 × 7, arms of 3), BHZ cross (two blocks), Hall cross at \(b = 0.15\), graphene with a narrow lead | \(S\) square and unitary to \(10^{-9}\); \(\sum \lvert S_{pq} \rvert^2 = T_{pq}\) to \(10^{-9}\) |
| Clean ribbon 8 × 9 | Each incoming mode goes straight through: one entry of modulus 1 per column of \(S_{RL}\), the others below \(10^{-9}\); no reflection | |
two_terminal_scattering_matrix | Disordered ribbon 10 × 7, and in a field \(b = 0.2\) | Unitary to \(10^{-9}\); the two-terminal and multi-terminal solvers give the same matrix to \(10^{-9}\) |
Measured on the square and BHZ crosses, \(S^{\dagger} S - 1\) is \(6.5 \cdot 10^{-15}\) and \(6.0 \cdot 10^{-15}\), and \(\sum \lvert S_{pq} \rvert^2\) matches \(T_{pq}\) to \(2 \cdot 10^{-15}\) (28 November 2026, on Linux with faer's kernels).
Transmission eigenvalues and shot noise
With \(W_p\) a square root of the broadening, \(W_p W_p^{\dagger} = \Gamma_p\), the matrix
$$ t = W_L^{\dagger}\, G_{LR}\, W_R $$
is the transmission block of the scattering matrix up to unitary changes of the channel bases, which leave its singular values unchanged. The transmission eigenvalues \(\tau_n\) are their squares, between 0 and 1, and their sum is the transmission:
$$ \sum_n \tau_n = \mathrm{Tr}\,[t\, t^{\dagger}] = \mathrm{Tr}\,\big[\Gamma_L\, G_{LR}\, \Gamma_R\, G_{LR}^{\dagger}\big] = T. $$
\(W_p\) comes from the eigen-decomposition of \(\Gamma_p\): its eigenvectors of positive eigenvalue (above \(10^{-12}\) of the largest), each scaled by the square root of its eigenvalue, one column per channel. transmission_eigenvalues returns the \(\tau_n\) of all the blocks, in decreasing order.
At zero temperature and small bias, the shot-noise power of the current is \(2 e I F\), with the Fano factor
$$ F = \frac{\sum_n \tau_n (1 - \tau_n)}{\sum_n \tau_n}. $$
It is 0 for perfect channels, close to 1 for a tunnel barrier (Poisson noise), and 1/3 for a diffusive wire. fano_factor is undefined (NaN) when \(T = 0\).
The test transmission_eigenvalues_and_shot_noise (a 12 × 7 square sample, three energies) checks that the eigenvalues of a disordered sample add up to \(T\) to \(10^{-10}\) and lie in \([0, 1]\) within \(10^{-10}\), that a clean ribbon has only perfect channels (\(\tau = 1\) to \(10^{-9}\), \(F\) below \(10^{-8}\)), and that a barrier of height 40 across the sample gives \(F > 0.99\).
Scattering states
The electrons that lead \(p\) injects occupy the scattering states
$$ \psi_p = G\, W_p, \qquad (E - H - \Sigma)\, \psi_p = W_p, $$
one column per channel, on every orbital of the device: the response of the open device to the source \(W_p\) on the orbitals that lead \(p\) touches. The product \(\psi_p \psi_p^{\dagger} = G\, \Gamma_p\, G^{\dagger}\) is the spectral function of these electrons, and with occupations \(f_p\) the lesser Green's function is \(G^{\lt} = i \sum_p f_p\, \psi_p \psi_p^{\dagger}\) (Keldysh).
The device sources \(V_p\, s_b\) of the unit-current incoming modes of a lead, \(s_b = (\lambda_b - g\, H_1^{\dagger})\, \varphi_b\), also factor its broadening: \(\sum_b (V_p s_b)(V_p s_b)^{\dagger} = \Gamma_p\). The states that the incoming modes inject therefore differ from the columns of \(\psi_p\) by a unitary transformation of the channels of the lead, which changes no density, current or transmission. Mode-resolved quantities, such as which incoming mode goes into which outgoing one, come from the scattering matrix.
Back-substitution through the tree
scattering_states runs the elimination with its factors kept: every front stores \(X = F_{EE}^{-1} F_{EB}\) (Fronts and Schur complements). At the root, the Schur complement \(S\) is solved for the sources (\(W_L\) on the left slice and \(W_R\) on the right one, or every \(W_p\) on its orbitals), which gives \(\psi\) on the kept orbitals. The sources vanish on every eliminated variable, so each front's equation \(F_{EE}\, \psi_E + F_{EB}\, \psi_B = 0\) gives
$$ \psi_E = -X\, \psi_B, $$
from the root down to the leaves: first the variables delayed up to the root, then each front from its boundary, which its ancestors have filled. A front that delayed its variables eliminated nothing and only passes on to its children. The memory grows with the stored factors, as \(O(N \log N)\) for a two-dimensional sample of \(N\) orbitals, and with \(N\) times the number of channels for the states themselves.
ScatteringStates holds one matrix per lead (rows: the orbitals of the device in the order of the region; columns: the channels), the left lead first for two terminals.
Occupations, densities and currents
| Method | Quantity |
|---|---|
ScatteringStates::occupation(f) | \(\mathrm{Im}\, G^{\lt}_{aa} / 2\pi = \sum_p f_p \sum_c \lvert \psi_{p, ac} \rvert^2 / 2\pi\) on every orbital. With every \(f_p = 1\), the local density of states of the scattering states; the bound states of the device are not in it |
site_densities(states, f, O) | \(\sum_p f_p\, \psi_p^{\dagger} O\, \psi_p / 2\pi\) on the orbitals of each site, for an on-site operator \(O\) (the identity without one): the occupied density, a spin density |
bond_currents(states, f) | \(j_{i \to j} = 2\, \mathrm{Re}\, \mathrm{Tr}\,[H_{ij}\, G^{\lt}_{ji}]\) for every pair of coupled sites, once, from the site of lower index |
operator_currents(states, f, O) | \(\mathrm{Re}\, \mathrm{Tr}\,[(O H_{ij} + H_{ij} O)\, G^{\lt}_{ji}]\), a spin current for \(O = s_z\) |
The units and the conservation laws of these quantities are on the Keldysh page. The tests check them against independent computations:
- against the recursive lesser Green's function of
caroli-keldysh(nested_states.rs): occupations and bond currents to \(10^{-10}\), on disordered square, BHZ and graphene samples and in a field, for the occupations \((f_L, f_R) = (1, 0)\) and \((0.3, 0.8)\); - the multi-terminal states of a ribbon with two leads give the two-terminal occupations and bond currents to \(10^{-10}\) (
scattering_states_as_two_terminal); - in a disordered cross (9 × 7, arms of 4), with and without a field, and lead \(q\) alone occupied, the current out through a cut across arm \(p\) is \(T_{pq}\), the current into arm \(q\) is \(-\sum_{r \neq q} T_{rq}\), and Kirchhoff's law holds at every site no lead touches, all to \(10^{-9}\) (
cross_currents); - in a disordered BHZ ribbon with a Zeeman term \(0.04\, s_z\), which conserves spin while \(T_\uparrow \neq T_\downarrow\), the \(s_z\) current through every cross-section equals \(T_\uparrow - T_\downarrow\) from the sector transmissions to \(10^{-9}\), and \(O = 1\) gives back the charge currents and densities to \(10^{-12}\) (
spin_currents).
Sector transmissions
When the Hamiltonian of each lead conserves a quantity, its channels split into sectors: spin up and down in a lead without spin–orbit coupling, electrons and holes in a normal lead described in the Bogoliubov–de Gennes basis. The device may mix the sectors (spin-flip impurities, a superconductor). NestedMultiTerminal::sector_transmissions takes, for each lead, a label per orbital of a site ([0, 0, 1, 1] for the spins of the BHZ basis \((E_1\uparrow, H_1\uparrow, E_1\downarrow, H_1\downarrow)\), [0, 1] for electron and hole), or None to take the lead whole. It checks that neither \(h_{00}\) nor \(h_{01}\) of the lead couples two sectors.
The surface Green's function is then block diagonal in the sectors, and so is the spectral function of the lead surface \(a_p = i\,(g_p - g_p^{\dagger})\). With \(P_a\) the projector on sector \(a\) of the lead cell, the broadening splits into
$$ \Gamma_p = \sum_a \Gamma_{p,a}, \qquad \Gamma_{p,a} = V_p\, P_a\, a_p\, P_a\, V_p^{\dagger}, $$
and the transmission from sector \(b\) of lead \(q\) into sector \(a\) of lead \(p\) is
$$ t_{(p,a),(q,b)} = \mathrm{Tr}\,\big[\Gamma_{p,a}\, G_{pq}\, \Gamma_{q,b}\, G_{pq}^{\dagger}\big], \qquad \sum_{a, b} t_{(p,a),(q,b)} = T_{pq}. $$
Between two sectors of the same lead it is a reflection probability between sectors: Andreev reflection \(R_{he}\) of an electron into a hole, or a reflection with spin flip. Within the same sector of the same lead it is not a reflection, for the same reason as \(T_{pp}\) (The diagonal is not a reflection): the reflection follows from unitarity. SectorTransmissions lists the \((\text{lead}, \text{sector})\) of each row and column, and t[k][l] is the transmission from label \(l\) into label \(k\).
Test (nested_multi.rs) | System | Asserted |
|---|---|---|
spin_sectors | BHZ cross 8 × 6 with arms of 2, spin-conserving disorder, four leads with two spin sectors each | No spin flip, below \(10^{-10}\); the sectors add up to \(T_{pq}\) to \(10^{-10}\) |
andreev_reflection | Spinless Bogoliubov–de Gennes model on a 24 × 10 square sample: on-site \((4t - \mu)\, \tau_z\), hoppings \(-t\, \tau_z\), pairing \(\Delta\, \tau_x\) from column 12 on and in the right lead (\(t = 1\), \(\mu = 1\), \(\Delta = 0.05\)); the left lead split into electron and hole | At \(E = 0\), \(0.02\), \(-0.03\), below the gap: nothing enters the superconductor (below \(10^{-8}\)), and \(R_{he}\) is the number of electron channels of the normal lead within 5 %, counted on a clean normal wire |
In the code
Crate caroli-green:
| Item | What |
|---|---|
SMatrix | blocks[p][q], incoming, outgoing; transmission, full |
NestedTwoTerminal::smatrix, NestedMultiTerminal::smatrix | The scattering matrix at one energy |
transmission_eigenvalues, fano_factor | \(\tau_n\) and \(F\), two terminals |
scattering_states (and multi-terminal) | \(\psi_p = G W_p\) on the whole device |
ScatteringStates | One matrix per lead; occupation |
bond_currents, operator_currents, site_densities, BondCurrent | Currents and densities from the states (the same methods on NestedMultiTerminal) |
sector_transmissions, SectorTransmissions | Transmissions between sectors |
LeadModes | The unit-current modes and Bloch factors of a lead |
References
- D. S. Fisher, P. A. Lee, Relation between conductivity and transmission matrix, Phys. Rev. B 23, 6851 (1981).
- C. W. Groth, M. Wimmer, A. R. Akhmerov, X. Waintal, Kwant: a software package for quantum transport, New J. Phys. 16, 063065 (2014).
- M. Büttiker, Scattering theory of thermal and excess noise in open conductors, Phys. Rev. Lett. 65, 2901 (1990).
- C. W. J. Beenakker, M. Büttiker, Suppression of shot noise in metallic diffusive conductors, Phys. Rev. B 46, 1889 (1992).
- C. W. J. Beenakker, Random-matrix theory of quantum transport, Rev. Mod. Phys. 69, 731 (1997).
- Ya. M. Blanter, M. Büttiker, Shot noise in mesoscopic conductors, Phys. Rep. 336, 1 (2000).
- A. F. Andreev, The thermal conductivity of the intermediate state in superconductors, Sov. Phys. JETP 19, 1228 (1964).
- G. E. Blonder, M. Tinkham, T. M. Klapwijk, Transition from metallic to tunneling regimes in superconducting microconstrictions: excess current, charge imbalance, and supercurrent conversion, Phys. Rev. B 25, 4515 (1982).