neuralqx.operators.coloring module

This file contains some functions representing characterisation operators

charge_coloring(H, site, charge)

A local operator which acts on the given edge and is always zero unless the edge has the specified charge

Parameters:
coloring(H, site, charge_vector)

A local operator which acts on the given edge and is always zero unless the edge has the specified charge vector

Parameters:
  • H (AbstractHilbertInterface) – the Hilbert space it acts on

  • site (int) – the edge it acts on (this should be on the first level graph for an N-dim gauge group

  • charge_vector (tuple[int, ...]) – the charge vector specified

n_point_function(H, operator, edges, charge_vectors)

A function which returns the N-point function of a given operator. Here, “N” is determined by the number of edges passed onto the function. Hence, for 2 edges being specified you get the 2-point function of the specified operator.

Parameters:
  • H (AbstractHilbertInterface) – the Hilbert space it acts on

  • operator (Callable) – the operator requested, this should be a callable, not a LocalOperator

  • edges (tuple[int, ...]) – the list of edges it acts on

  • charge_vectors (tuple[tuple[int, ...], ...]) – the list of charge vectors, each corresponding to the edge and the same index in the edges param