QuantumInfo.ForMathlib.LinearEquiv
10 declarations
Linear equivalence induced by
#of_relabelGiven an equivalence (bijection) between two index sets, this definition provides a linear equivalence between the function spaces and over a ring . The map sends a function to the function , effectively relabeling the coordinates of the vector space.
Linear equivalence of Euclidean spaces induced by coordinate relabeling
#euclidean_of_relabelGiven an equivalence (or bijection) between two indexing sets, there exists a linear equivalence between the Euclidean spaces and over a scalar field . This map is constructed by relabeling the coordinates of a vector in the function space according to and is compatible with the norm structure of the Euclidean spaces.
Relabeling by Identity is the Identity Linear Equivalence
#of_relabel_reflFor a ring and an index set , the linear equivalence induced by the identity equivalence (the relabeling of coordinates by the identity map) is equal to the identity linear equivalence on the function space .
`euclidean_of_relabel` of the identity permutation is the identity linear equivalence
#euclidean_of_relabel_reflThe linear equivalence between Euclidean spaces and induced by the identity (reflexive) relabeling of the indexing set is equal to the identity linear equivalence on .
The linear map of a reindexed matrix equals
#reindex_toLin'Let be a ring and be index sets. Given two bijections and , and a matrix , let be the matrix reindexed by on rows and on columns. Then the linear map associated with the reindexed matrix is given by the composition , where denotes the linear equivalence induced by an index bijection .
Matrix.reindex_toEuclideanLin
#reindex_toEuclideanLin(e : d₁ ≃ d₃) (f : d₂ ≃ d) (M : Matrix d₁ d₂ 𝕜) : (M.reindex e f).toEuclideanLin = (LinearEquiv.euclidean_of_relabel 𝕜 e.symm) ∘ₗ M.toEuclideanLin ∘ₗ (LinearEquiv.euclidean_of_relabel 𝕜 f)
The linear map of a right-reindexed matrix equals the original linear map composed with the relabeling equivalence.
#reindex_right_toLin'Let be a ring and be types. Given an equivalence (bijection) and a matrix with row indices and column indices , let be the matrix where the columns are reindexed according to . Then, the linear map associated with this reindexed matrix, , is equal to the composition of the linear map associated with , , and the linear equivalence induced by relabeling indices, .
Right reindexing of a matrix corresponds to post-composition with a relabeling linear equivalence in Euclidean spaces
#reindex_right_toEuclideanLinLet be a field and be a matrix with row index set and column index set with entries in . Given an equivalence (relabeling) of indices , the linear map between Euclidean spaces associated with the matrix reindexed on the right by is equal to the composition of the linear map associated with and the linear equivalence induced by . That is, , where is the canonical linear equivalence between and .
Left Reindexing of a Matrix Corresponds to Pre-composition with the Inverse Relabeling Linear Equivalence
#reindex_left_toLin'Let be a ring, and let be types used as indices. For any equivalence (bijection) and any matrix with row indices in and column indices in with entries in , the linear map associated with the matrix reindexed on the left by is equal to the composition of the linear map associated with and the linear equivalence induced by the inverse of . Specifically, , where denotes the matrix-to-linear-map transformation and is the linear equivalence mapping to .
Left reindexing of a matrix corresponds to pre-composition with an inverse relabeling linear equivalence in Euclidean spaces
#reindex_left_toEuclideanLinLet be a field and be a matrix with row indices in and column indices in with entries in . Given an equivalence (relabeling) of indices , the linear map between Euclidean spaces associated with the matrix reindexed on the left by is equal to the composition of the linear equivalence induced by the inverse of and the linear map associated with . Mathematically, , where is the canonical linear equivalence between and induced by the inverse relabeling .
