Skip to content

FLUE_matrixConstants ​

FLUE_matrixConstants

This module provides a collection of predefined constant matrices used throughout FLUE. These include identity matrices for SU(2) and SU(3) operations together with the three Pauli matrices that form a basis of the SU(2) Lie algebra.

All matrices are defined as compile-time constants with complex-valued elements of kind WC. Matrix entries are written in row-major order for human readability and converted to Fortran's native column-major storage layout through the RESHAPE intrinsic using order=[2,1].

The Pauli matrices satisfy $ [\sigma_i,\sigma_j] = 2 i \epsilon_{ijk}\sigma_k $ and $ {\sigma_i,\sigma_j} = 2\delta_{ij}I_2. $

Source: src/matrixConstants.f90

Dependencies

Variables ​

NameTypeAttributesDescription
Ident3x3complex(kind=WC)dimension(3, 3), parameter3x3 Identity matrix in complex variable
Ident2x2complex(kind=WC)dimension(2, 2), parameter2x2 Identity matrix in complex variable
sigma1complex(kind=WC)dimension(2, 2), parameterFirst Pauli matrix (sigma_x)
sigma2complex(kind=WC)dimension(2, 2), parameterSecond Pauli matrix (sigma_y)
sigma3complex(kind=WC)dimension(2, 2), parameterThird Pauli matrix (sigma_z)