PhyslibAlpha.ProbabilisticTheory.Examples.Square
The square
i. Overview
The square is the simplest state space that is not a simplex: it has four pure states, the vertices, and the two diagonals of the square have the same midpoint. Its observables are the affine functions on the square, recorded by their values at the four vertices `0, 1, 2, 3`, with the diagonal relation `v 0 + v 3 = v 1 + v 2`. An observable is nonnegative when all four values are.
The nonnegative observables are generated by the four facets: the affine functions that vanish on one side of the square. An observable of the composite of `E` with the square is recorded by its four vertex values in `E`, which again satisfy the diagonal relation.
ii. Key results
- `Square` : the observables of the square, an order-unit space. - `Square.facet` : the four facets. - `Square.exists_eq_sum_facet` : every nonnegative observable is a nonnegative combination of facets. - `Square.vals` : the vertex values of an observable of `E ⊗ Square`. - `Square.vals_injective` : vertex values determine the observable.
iii. Table of contents
- A. The square
- B. Facets
- C. Vertex values of composite observables
A. The square
B. Facets
C. Vertex values of composite observables
37 declarations
Subspace of vertex values satisfying
The `squareSubmodule` is the -linear subspace of (represented as functions ) consisting of vectors whose components satisfy the diagonal relation . This subspace represents the observables of a square state space, where the values at the four vertices are constrained by the equality of the sums of opposite vertices.
Space of square observables satisfying
The type `Square` represents the space of observables on a square state space. It is defined as the -linear subspace of functions (elements of ) that satisfy the diagonal relation . These functions correspond to affine functions on the square, uniquely determined by their values at the four vertices.
`Square` is an additive commutative group
The space `Square`, consisting of observables that satisfy the diagonal relation , forms an additive commutative group.
`Square` is a module over
The type `Square`, representing the space of observables on a square state space satisfying the diagonal relation , carries the structure of a module (vector space) over the real numbers .
Value of square observable at vertex
For an observable in the space `Square` and a vertex index , this function returns the value of the observable at the -th vertex. The space `Square` is the -linear subspace of functions that satisfy the diagonal relation .
observable from vertex values satisfying
Given a function that satisfies the diagonal relation , this definition constructs the unique observable in the space whose values at the vertices are given by .
The value of a constructed square observable at vertex is
For any function satisfying the diagonal relation , let be the observable in the space constructed from . Then for any index , the value of the observable at the -th vertex is equal to .
for Observables
Let and be observables in the space . If for all vertex indices , then . Here, is the space of affine functions on a square determined by their values at four vertices satisfying the diagonal relation , and denotes the value of the observable at the -th vertex.
Diagonal Relation for Square Observables
For any observable in the space `Square`, the values at the four vertices satisfy the diagonal relation: This relation characterizes the affine functions on a square state space, where the vertices and are opposite to each other, as are the vertices and .
For any observables and in the space `Square` (the space of affine functions on a square determined by their values at the vertices satisfying ) and for any vertex index , the value of the sum of the observables at vertex is equal to the sum of their individual values at that vertex: .
For any real number , any observable in the space (the space of affine functions on a square satisfying the diagonal relation ), and any vertex index , the value of the scalar product at vertex is equal to multiplied by the value of at vertex :
The value of the zero observable at vertex is
For any vertex , the value of the zero observable in the space `Square` at vertex is .
Partial order on based on vertex values
The space of square observables is equipped with a partial order. For any two observables , the relation holds if and only if the value of is less than or equal to the value of at each vertex , i.e., for all .
in the space of square observables
Let be the space of observables on a square, where each observable is characterized by its values at the vertices satisfying the diagonal relation . For any two observables , the relation holds if and only if for all .
is an ordered additive monoid
The space of square observables forms an ordered additive monoid. This means that the partial order on is compatible with addition: for any observables , if , then . The addition and the partial order are defined pointwise at the four vertices .
Scalar multiplication by is monotonic on
In the space of square observables , scalar multiplication by non-negative real numbers preserves the partial order. Specifically, for any real number and any observables , if , then . Here, the space consists of functions satisfying , and the order is defined pointwise as for all .
The constant function in
The unit in the space of observables is defined as the unique observable whose value at each of the four vertices is equal to . This constant function satisfies the diagonal relation .
The value of at vertex is
For any vertex , the value of the unit observable in the space at that vertex is .
is an order-unit space with unit
The space of square observables , consisting of functions satisfying the diagonal relation , is an order-unit space. The constant function (mapping each vertex to ) serves as the order unit. This implies that is non-negative () and that for any observable , there exists a natural number such that holds under the pointwise partial order on the vertices.
is an Archimedean order-unit space
The space of square observables is an Archimedean order-unit space. In this space, the order unit is the constant function mapping each vertex to . The Archimedean property ensures that for any observable , if for all real , then under the pointwise partial order on the vertices.
Evaluation map at the -th vertex
For a vertex index , the function is the positive linear map that sends an observable to its value at the -th vertex, . This map corresponds to a pure state of the square state space.
For any vertex index and any observable , the evaluation map applied to yields the value of at the -th vertex, i.e., .
The four facet observables of the square
The function defines four specific observables on the square state space, where each is an affine function determined by its values at the four vertices. Specifically: - has vertex values and vanishes on vertices and . - has vertex values and vanishes on vertices and . - has vertex values and vanishes on vertices and . - has vertex values and vanishes on vertices and .
The facet observables of the square are non-negative ()
For any index , the facet observable of the square state space is non-negative, meaning . According to the partial order on the space of square observables, this implies that the value of at each vertex is greater than or equal to zero.
The value of a sum of observables at a vertex is the sum of their individual values at
For any collection of observables indexed by and any vertex , the value of the sum of the observables at vertex is equal to the sum of the individual values of each observable at that vertex. That is, where denotes the value of the observable at the -th vertex of the square.
Every non-negative observable is a non-negative combination of facets
Let be an observable on the square state space, which is characterized by its values at the four vertices satisfying the diagonal relation . If is non-negative (meaning for all ), then there exist non-negative real coefficients for such that can be expressed as a linear combination of the four facet observables :
Vertex values map
The linear map associates an observable in the composite system with its values at the four vertices of the square. For a basic tensor , the value at vertex is , where is the value of the square observable at that vertex. The resulting values in satisfy the diagonal relation .
Let be a real vector space. For any element and any observable , the vertex values of the elementary tensor at each vertex are given by the scalar multiplication of by the value of at that vertex:
Diagonal Relation for Vertex Values in
Let be a real vector space. For any composite observable , let denote the value of the observable at the -th vertex for . These vertex values satisfy the diagonal relation:
Composite observable in from vertex values
Given a real vector space and a function representing values at the vertices of a square, this definition constructs a composite observable in the tensor product . The construction is defined as: where is the identity observable and are specific facet observables of the square. Because observables of the square must satisfy the diagonal relation , the resulting composite observable is uniquely determined by the values at vertices and , while the value provided in the input is ignored.
Additivity of the `ofVals` map for square observables ()
Let be a real vector space. For any two functions that assign values to the vertices of a square, the mapping `ofVals` (which constructs a composite observable in ) is additive, such that .
for square observables
Let be a real vector space and be a composite observable. Mapping to its values at the four vertices of the square and then reconstructing an observable from these values using recovers the original observable . That is,
for vertex values satisfying the diagonal relation
Let be a real vector space and let be a function assigning values to the four vertices of a square. If the values satisfy the diagonal relation , then extracting the vertex values from the composite observable constructed from yields the original values. That is, .
The vertex values map is injective
Let be a real vector space and be the space of observables on a square state space, represented by the -linear subspace of functions satisfying the diagonal relation . The linear map , which assigns to each composite observable its values at the four vertices of the square, is injective.
for square observables
Let be an order-unit space and let be the space of observables on a square (affine functions determined by values at vertices satisfying the diagonal relation). For any positive linear functional and any composite observable , the value of the sliced observable at vertex is equal to the functional applied to the -th vertex value of . That is, where denotes the value of the tensor at the -th vertex.
Non-negative vertex values imply
Let be an ordered real vector space and be the space of observables on a square (functions satisfying ). For any composite observable , if the values at each vertex are non-negative, i.e., for all , then belongs to the maximal tensor cone .
Let be an Archimedean order-unit space. For any element in the composite system , belongs to the maximal tensor cone of if and only if all its vertex values (for ) are non-negative in .
