neuralqx.operators.computational.Euclidean4d.jax.area_difference module

class AreaDifferenceSquaredOperatorJax(H, edges)

Bases: ComputationalJaxOperator

Diagonal operator for the squared area difference between two edges e1,e2 in U(1)^3:

(||m_{e1}|| - ||m_{e2}||)^2 = ||m_{e1}||^2 + ||m_{e2}||^2 - 2 ||m_{e1}|| ||m_{e2}||.

property max_conn_size: int

The maximum number of non zero ⟨x|O|x’⟩ for every x.

property is_hermitian: bool

Returns true if this operator is hermitian.

property dtype

The dtype of the operator’s matrix elements ⟨σ|Ô|σ’⟩.

tree_flatten()
classmethod tree_unflatten(struct, leaves)
class AreaDifferenceSquaredSurfacesOperatorJax(H, surfaces)

Bases: ComputationalJaxOperator

Diagonal operator for the squared area difference between two surfaces S1,S2 in U(1)^3:

(A(S1) - A(S2))^2, with A(S) = sum_{e in S} ||m_e||_2.

property max_conn_size: int

The maximum number of non zero ⟨x|O|x’⟩ for every x.

property is_hermitian: bool

Returns true if this operator is hermitian.

property dtype

The dtype of the operator’s matrix elements ⟨σ|Ô|σ’⟩.

tree_flatten()
classmethod tree_unflatten(struct, leaves)