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
| Name | Type | Attributes | Description |
|---|---|---|---|
Ident3x3 | complex(kind=WC) | dimension(3, 3), parameter | 3x3 Identity matrix in complex variable |
Ident2x2 | complex(kind=WC) | dimension(2, 2), parameter | 2x2 Identity matrix in complex variable |
sigma1 | complex(kind=WC) | dimension(2, 2), parameter | First Pauli matrix (sigma_x) |
sigma2 | complex(kind=WC) | dimension(2, 2), parameter | Second Pauli matrix (sigma_y) |
sigma3 | complex(kind=WC) | dimension(2, 2), parameter | Third Pauli matrix (sigma_z) |