PhyslibAlpha.ProbabilisticTheory.CStarAlgebra.MatrixComposite
Matrices over a C⋆-algebra as a composite system
i. Overview
Coupling a quantum system with observables `A` to an `n`-level ancilla gives the `n × n` matrices over `A`. The self-adjoint ones are the composite observables of the self-adjoint part of `A` with the `n × n` Hermitian matrices: the product `a ⊗ h` is the matrix `(hᵢⱼ a)`. The positive matrices form a cone of composite observables that contains every product of positive observables and is Archimedean. When `A` is commutative, every positive matrix is also in the maximal cone: applying a character entrywise turns it into a positive scalar matrix.
Applying a map entrywise to matrices is tensoring it with the identity of the ancilla. So complete positivity of a map, in the sense of positive matrices, is the complete positivity of composite systems, and for maps out of commutative C⋆-algebras it follows from classicality.
ii. Key results
- `CStarMatrix.kron` : the matrix `(hᵢⱼ a)`. - `CStarMatrix.toMatrix` : the matrix of a composite observable. - `CStarMatrix.kron_nonneg` : products of positive observables are positive matrices. - `CStarMatrix.matrixCone` : the positive matrices, as a cone of composite observables. - `CStarMatrix.isArchimedeanTensorCone_matrixCone` : this cone is Archimedean. - `CStarMatrix.exists_toMatrix_eq` : every self-adjoint matrix is a composite observable. - `CStarMatrix.mem_maxTensorCone_of_nonneg` : for commutative `A`, positive matrices are in the maximal cone.
iii. Table of contents
- A. The matrix of a composite observable
- B. Positive matrices
- C. Every self-adjoint matrix is a composite observable
- D. Commutative algebras
- E. Applying a map entrywise
- F. Channels out of commutative algebras
A. The matrix of a composite observable
B. Positive matrices
C. Every self-adjoint matrix is a composite observable
D. Commutative algebras
E. Applying a map entrywise
F. Channels out of commutative algebras
41 declarations
Kronecker product of an observable and a scalar matrix
Given a matrix and an element of a -algebra , the function constructs a matrix in where each entry at index is the scalar product . This represents the composite observable formed by the tensor product of the observable with the scalar matrix .
The -th entry of is
Let be a -algebra and be a complex matrix. For any element and indices , the -th entry of the matrix (denoted by `kron h a`) is equal to , where is the entry of at row and column , and denotes the scalar multiplication of an element of by a complex number.
Let be complex matrices and be an element of a -algebra . The Kronecker product (or composite observable) is equal to the sum of the Kronecker products and , where denotes the matrix in with entries .
Let be a -algebra and be a complex matrix. For any elements , the Kronecker product of the observable and the matrix satisfies the distributive law: where denotes the matrix in whose entries are given by .
For any real number , any complex matrix , and any element of a -algebra , the Kronecker product of the scaled matrix and is equal to the scalar multiplication of with the Kronecker product of and :
For any real scalar , any complex matrix , and any element of a -algebra , the Kronecker product of with the scaled element is equal to the scaling of the Kronecker product of and by . That is, , where is the matrix in with entries .
for the Kronecker product of an observable and a zero matrix
For any element of a -algebra , the Kronecker product , where is the zero matrix over , is equal to the zero matrix over .
For any complex matrix and the zero element of a -algebra , the Kronecker product (the matrix in with entries ) is equal to the zero matrix.
Entrywise Application of an Additive Homomorphism Preserves Matrix Addition
Let and be matrices with entries in . Let be an additive homomorphism from to an additive commutative monoid . The entrywise application of to the sum of the matrices and is equal to the sum of the matrices obtained by applying entrywise to and individually, expressed as .
Let be a -algebra. For any complex matrix and any element , let denote the matrix in defined by the entrywise product . Then the product of the adjoint of the matrix with itself satisfies the identity: where the multiplication on the left-hand side is matrix multiplication in , is the product in , and is the matrix product of the conjugate transpose of with in .
The -th entry of a sum of matrices is the sum of the -th entries
For a -algebra and a finite set of indices , let be a collection of matrices over indexed by . For any row index and column index , the -th entry of the sum of these matrices is equal to the sum of the -th entries of the individual matrices:
Matrix of a composite observable in
Let be a unital -algebra and be the algebra of complex matrices. Let and denote their respective spaces of self-adjoint (Hermitian) elements. The function is the real-linear map from the tensor product to the space of matrices over , , which maps an elementary tensor to the matrix whose -th entry is .
Let be a unital -algebra and be its space of self-adjoint elements. Let be the space of Hermitian matrices. For any and , the real-linear map maps the elementary tensor in the composite system to the matrix , where the -th entry of is given by .
Let be a unital -algebra and be the algebra of complex matrices. Let be the identity element of and be the identity matrix. The real-linear map maps the tensor product to the identity matrix in , i.e., .
The Kronecker product of self-adjoint elements is self-adjoint
Let be a -algebra. For any complex matrix and any element , if is self-adjoint and is self-adjoint, then the matrix is also self-adjoint, where is the matrix with entries .
The matrix of a composite observable is self-adjoint
Let be a unital -algebra and be the algebra of complex matrices. Let and denote their respective spaces of self-adjoint (Hermitian) elements. For any element in the tensor product , the resulting matrix is self-adjoint.
The Kronecker product of positive elements is positive
Let be a -algebra and let denote the set of complex matrices. For any positive-semidefinite matrix (i.e., ) and any positive element (i.e., ), the matrix in defined by the product (with entries ) is also positive.
Positive matrix cone of composite observables
Let be a unital -algebra and be the algebra of complex matrices. Let and denote the real vector spaces of self-adjoint elements in their respective algebras. The **matrix cone** is the pointed cone in the composite observable space defined by the set of elements whose matrix representation is positive (i.e., ).
if and only if
Let be a unital -algebra and be the algebra of complex matrices. Let and denote the real vector spaces of self-adjoint elements in their respective algebras. For any element in the composite system , belongs to the matrix cone if and only if its matrix representation is positive (i.e., ).
The minimal tensor cone is a subcone of the matrix cone ()
Let be a unital -algebra and let be the algebra of complex matrices. Consider the composite system formed by the tensor product of their self-adjoint parts, . The minimal tensor cone (the cone generated by elementary tensors where and are positive) is a subset of the matrix cone (the cone of elements whose matrix representation is positive). That is, Consequently, the set of positive matrices in the composite system contains every product of positive observables.
The positive matrix cone is Archimedean
Let be a unital -algebra and be the algebra of complex matrices. Let and denote the real vector spaces of self-adjoint elements in their respective algebras. The **matrix cone** —defined as the set of elements whose matrix representation is positive—is **Archimedean**. That is, for any element in the tensor product space, if for all , then , where is the identity of and is the identity matrix.
Matrix unit
For indices , the matrix unit is the complex matrix whose entry at row and column is , and all other entries are .
Entries of the matrix unit
For any indices , the entry at row and column of the matrix unit is equal to if and , and is otherwise.
For any indices and , the adjoint of the matrix unit is the matrix unit . Using the symbol to denote the adjoint (conjugate transpose) operation, this is expressed as .
Symmetric matrix unit
For indices , the symmetric unit matrix is the complex Hermitian matrix defined by , where represents the matrix unit with at the -th entry and elsewhere.
Asymmetric Hermitian matrix unit
For indices , the asymmetric matrix unit is the complex self-adjoint (Hermitian) matrix defined by , where is the standard matrix unit with at the -th entry and elsewhere, and denotes the imaginary unit .
The -th entry of a matrix over
Given an matrix with entries in a -algebra , this function returns the entry located at row and column .
Composite observable of a matrix
Given an matrix with entries in a -algebra , this function constructs a composite observable in the tensor product space . The resulting tensor is defined by the sum: where is the -th entry of the matrix , and and are the self-adjoint real and imaginary parts of the entry. Here, denotes the symmetric Hermitian matrix unit and denotes the asymmetric Hermitian matrix unit, where is the standard matrix unit.
The -th entry of is
Let be a -algebra and be a finite index set. For any indices , let be the symmetric unit matrix defined by , where is the matrix unit with at the -th entry and elsewhere. For any , the -th entry of the Kronecker product is given by: where is the Kronecker delta, which is if and otherwise.
-th entry of the composite observable
Let be an index set and be a -algebra. For any indices and any observable , the -th entry of the matrix representing the composite observable is given by where is the asymmetric Hermitian matrix unit, is the imaginary unit, and denotes the Kronecker delta (which is if the indices match and otherwise).
Let be a unital -algebra and be an matrix with entries . Let and be the self-adjoint real and imaginary parts of the entries. Let and be the symmetric and asymmetric Hermitian matrix units in the space of complex matrices. The matrix representation of the composite observable is given by the sum over all indices : where (the operation `kron h a`) denotes the matrix in whose entries are the scalar products .
The -th entry of
Let be a -algebra and be an matrix with entries in . For any indices , the -th entry of the matrix associated with the self-adjoint composite observable constructed from is given by where and denote the self-adjoint real and imaginary parts of an element , and is the imaginary unit.
Every self-adjoint matrix over is a composite observable
Let be a unital -algebra. For any matrix with entries in such that is self-adjoint, there exists a composite observable in the tensor product space such that the matrix representation of is (i.e., ).
Character as a positive functional
Given a character in the character space of a -algebra , this definition constructs the corresponding positive real-linear functional . It restricts the complex-linear character to the space of self-adjoint elements (the observables of the system), mapping them to real numbers.
for self-adjoint
Let be a -algebra and let be a character in the character space of . Let be the positive real-linear functional obtained by restricting to the space of self-adjoint elements of . For any , the value is equal to when the former is viewed as a complex number.
Left slicing by a character equals entrywise application of to the matrix representation
Let be a unital -algebra and let be a character in the character space of . Let be the positive real-linear functional obtained by restricting to the space of self-adjoint elements of . For any composite observable in the tensor product space , it holds that where is the left slice map that applies to the first factor of the tensor product, and is the complex matrix obtained by applying the character entrywise to the matrix representation .
For commutative ,
Let be a commutative unital -algebra. Let and denote the spaces of self-adjoint elements of and the complex matrix algebra, respectively. For any element in the composite system , if the associated matrix is positive (i.e., ), then belongs to the maximal tensor cone of the tensor product. Here, the maximal tensor cone consists of all tensors such that for every pair of positive linear functionals and .
Let and be unital -algebras, and let be a unital positive linear map. Let be a composite observable. Then, applying the map to the first factor of the composite system and then converting the result into a matrix is equivalent to converting into its matrix representation in and then applying to each entry of that matrix. That is: where is the map sending to the matrix .
A unital positive map from a commutative -algebra is completely positive ()
Let be a commutative -algebra and be a -algebra. Let be a unital positive linear map. For any natural number and any matrix with entries in , if is positive (), then the matrix (the matrix obtained by applying to each entry of ) is also positive (). This expresses the fact that every unital positive map from a commutative -algebra is completely positive.
Stinespring's theorem: unital positive maps from commutative -algebras are quantum channels
Let be a commutative -algebra and be a -algebra. Given a unital positive linear map , this definition constructs a quantum channel (a completely positive unital map) from . This utilizes the result that for maps originating from a commutative -algebra, the property of being unital and positive is sufficient to guarantee complete positivity.
Action of the quantum channel `ofCommutative f` is
Let be a commutative -algebra and be a -algebra. Let be a unital positive linear map (denoted ). For any element , the action of the quantum channel constructed from (denoted ) on is equal to . That is,
