neuralqx.lqx.wcl.euclidean_interface module

class LqxWCL(H, gauge_group, *, lazy_load=True, spacetime_dimensions, computational=True)

Bases: AbstractLqxInterface

volume(vertex, *, computational=True, jax=True)

Returns the volume operator of the underlying wrapped model.

Parameters:
  • vertex (int) – the vertex the volume operator should act on

  • computational (bool) – if True, the volume operator is implemented as a computational operator

  • jax (bool) – if True, and a computational operator implementation is requested, the operator is returned as a JAX computational operator

Returns:

area(surface, *, computational=True, jax=True)

Returns the area operator of the underlying wrapped model.

Parameters:
  • surface (list) – the surface the area operator acts on. This should be a list composed of edges in their raw representation as provided from the AbstractGraph.edges property

  • computational (bool) – if True, the area operator is implemented as a computational operator

  • jax (bool) – if True, and a computational operator implementation is requested, the operator is returned as a JAX computational operator

Returns:

minimal_loop_holonomy(loop, *, computational=True, jax=True)

Returns the minimal loop holonomy operator of the underlying wrapped model.

Parameters:
  • loop (list) – the loop the operator should act on. This should be one of the loops provided by the AbstractGraph.dressed_minimal_loops()

  • computational (bool) – if True, the operator is implemented as a computational operator

  • jax (bool) – if True, and a computational operator implementation is requested, the operator is returned as a JAX computational operator

Returns:

holonomy(edge, *, computational=True, jax=True)

Returns the minimal loop holonomy operator of the underlying wrapped model.

Parameters:
  • edge (list) – the edge the operator should act on. This should be one of the loops provided by the AbstractGraph.edges

  • computational (bool) – if True, the operator is implemented as a computational operator

  • jax (bool) – if True, and a computational operator implementation is requested, the operator is returned as a JAX computational operator

Returns:

curvature_constraint(*, computational=True, jax=True)

Returns the curvature (flatness) constraint for the underlying wrapped model.

Parameters:
  • computational (bool) – if True, the operator is implemented as a computational operator

  • jax (bool) – if True, and a computational operator implementation is requested, the operator is returned as a JAX computational operator

Returns:

thiemann_quadratic_constraint(computational=None, jax=True, **kwargs)

Returns the quadratic constraint implemented using Thiemann’s regularised quantum Hamilton constraint

Parameters:
  • computational (Optional[bool]) – if True, the operator is implemented as a computational operator

  • jax (Optional[bool]) – if True, and a computational operator implementation is requested, the operator is returned as a JAX computational operator

Returns: