Install SNEG 2.2 to evaluate the code in a fresh Mathematica kernel.
Fermion algebra and correlated electrons
- Wick’s theorem for fermions in Mathematica
- Use second-quantized fermionic operators and Wick contractions to derive the direct Hartree and exchange Fock terms for a filled Fermi sea.
- Hubbard dimer exact diagonalization in Mathematica
- Build the two-site Hubbard model, diagonalize the half-filled singlet sector, and derive the superexchange splitting.
- Hubbard atom Green’s function in Mathematica
- Derive the two poles and thermal residues of the atomic Green’s function and compare with a Lehmann sum.
- Schrieffer–Wolff transformation of the Anderson model
- Derive the effective impurity exchange and compare the singlet–triplet gap with the original Anderson Hamiltonian at weak hybridization.
- Lehmann representation of a two-site Green’s function
- Calculate the bonding and antibonding contributions to the off-diagonal Green’s function and check that their spectral weights sum to zero.
Band structure and electron–phonon coupling
- SSH model Bloch Hamiltonian in Mathematica
- Fourier-transform the Su–Schrieffer–Heeger chain and track the intercell hopping phase in its two-band Bloch matrix.
- Graphene tight-binding Hamiltonian and Dirac point
- Build the honeycomb-lattice Bloch Hamiltonian and show how the three nearest-neighbour hopping phases cancel at a Dirac point.
- Rashba spin–orbit coupling in a tight-binding chain
- Construct the spin-dependent hopping matrix and check how the spin splitting transforms under momentum reversal.
- Holstein electron–phonon coupling in momentum space
- Fourier-transform the Holstein interaction and check the electron recoil and momentum conservation for phonon emission.
- Lang–Firsov transformation of a displaced oscillator
- Derive the oscillator relaxation energy and test convergence against a finite phonon basis.
Superconductivity
- Finite-temperature BCS gap equation in Mathematica
- Calculate the anomalous contraction for the BCS Hamiltonian and use it in the self-consistent gap equation.
- Singlet–doublet transition in a superconducting quantum dot
- Diagonalize the even and odd parity sectors of a superconducting impurity in the zero-bandwidth model.
- Kitaev chain gap closings in Mathematica
- Build the Bogoliubov–de Gennes matrix of a spinless p-wave chain and identify the bulk gap closings at the phase boundaries.
Quantum spins
- Antiferromagnetic spin waves in a staggered field
- Compare the bosonic Bogoliubov frequencies with the linear spin-wave dispersion of an antiferromagnet in a staggered field.
- Jordan–Wigner transformation of the XXZ spin chain
- Map the open XXZ chain to spinless fermions and check equality of the spin and fermion spectra by exact diagonalization.