Enum Field

Enum Documentation

enum class sequant::Field

describes the scalar field over which the vector spaces representing the bra/ket modes are defined. Physically this is a single global choice for a computation, but it is carried as per-IndexSpace metadata (IndexSpace::field()); a tensor’s effective field is resolved from its bra/ket spaces (see sequant::base_field), so a global real/complex switch is expressed by setting the field uniformly on all spaces. It controls how the bra<->ket (Riesz) dual pairing is realized &#8212; linearly via a symmetric bilinear form (Field::Real, the adjoint is the transpose) or antilinearly via a Hermitian sesquilinear form (Field::Complex, the adjoint is the conjugate-transpose). Together with a tensor’s Hermiticity it determines the tensor’s BraKetSymmetry.

Values:

enumerator Real
enumerator Complex