Collected sources and patterns will appear here. Add from search or the patterns library.
The reusable building blocks distilled from the corpus. Each one is a mechanism stated as takes X → produces Y, with the real sources it was found in. These are the ingredients you compose into an Enhancement.
Showing 25–48 of 91 patterns
Sequence<Eigenvectors> -> Scalar
Compute the Berry phase along a closed loop of k-points by taking the phase of the determinant/product of overlaps between consecutive wavefunctions.
(LatticeParameters, KPoint) -> HermitianMatrix
Construct a Bloch Hamiltonian matrix at a specific k-point by summing hopping terms with their respective phase factors.