14.18.4 Tensor Map Product Basis Ordering Convention
The Tensor Map Product Basis Ordering Convention defines a standard for ordering basis elements in tensor product spaces to ensure consistent algebraic computations.
Tensor Map Product Basis Ordering Convention is the choice of how the doubly indexed family of basis tensors is arranged into a single linearly ordered list, a choice that fixes which row or column of the matrix representing corresponds to which pair of indices, without affecting the underlying linear map itself.
The Need for an Ordering
Two Indices, One List
A basis tensor of is naturally labeled by a pair of indices , with and , but writing the components of a vector or the entries of a matrix requires a single linear index running from to . The ordering convention is the rule that converts the pair into that single index.
The Standard Lexicographic Rule
The most common convention orders pairs lexicographically by first, then by , assigning the linear index
to the pair , so that varies fastest as increases, and only increases once has cycled through all its values; this is the ordering under which the matrix of equals the Kronecker product in its standard block form.
Effect on the Matrix Presentation
Block Structure Under the Standard Convention
Under the standard convention, the matrix is arranged in by blocks, with the block in position equal to , that is, the matrix scaled by the single scalar entry . Reversing the roles, ordering by first and second, produces instead a block structure with the block in position equal to , which is the matrix rather than .
Permutation Relating Different Conventions
The two resulting matrices are related by conjugation with a fixed permutation matrix that reorders the basis, since both list the same set of basis tensors, only in a different sequence,
with known explicitly as the commutation matrix associated with the dimensions and , so that switching ordering conventions never changes the map, only the labeling scheme by which its matrix entries are addressed.
What the Convention Does Not Affect
Invariance of the Map and Its Entries as a Function
The value assigned to a basis tensor by the tensor map product basis formula does not depend on how the pair is later encoded as a linear index: the formula refers to and directly, not to their position in some flattened list. The ordering convention only governs how that same information is displayed once it is written as a matrix.
Consequence for Bookkeeping, Not for Content
Two practitioners using different ordering conventions compute the same coefficients for the same basis tensors; they only disagree about which row or column of their respective matrices those coefficients occupy. Any formula, theorem, or computation stated in terms of the basis tensors themselves, rather than in terms of the position of an entry inside a flattened matrix, is therefore completely unaffected by the choice of ordering convention.
Practical Considerations
Consistency With Iterated Tensor Products
When more than two maps are tensored together, for example , the ordering convention must be extended consistently across all three index sets simultaneously, typically by nesting the same lexicographic rule, first grouping the last two indices together and then combining the result with the first, matching the standard associativity convention used to identify with .
Interaction With Software Implementations
Numerical libraries that implement the Kronecker product fix one specific ordering convention internally, generally the lexicographic one with the second factor varying fastest, and any formula transcribed from an abstract index calculation into such software must respect that fixed convention or the resulting matrix will represent a permuted, rather than literally equal, version of the intended map.