neuralqx.operators.holonomies module¶
This file contains the implementation of the U(1) holonomy operator
- holonomy(H, site, adjoint=0, o_type='creation')¶
A method to create a NetKet operator that acts as the holonomy operator in U(1) theory on a given vertex. It can either be a creation or annihilation holonomy as well as an adjoint.
- Parameters:
H (
AbstractHilbertInterface) – the Hilbert space the operator acts onsite (
int) – (int): the vertex it acts on in the graphadjoint (
int) – (int): an identifier to check if the adjoint of the operator is requestedo_type (
str) – (String): an identifier to check the operation type (annihilation or creation)is_4d – a flag to check if we are working in 4 spacetime dimensions
- Return type:
- Returns:
(netket.operator.LocalOperator): the holonomy operator on the given vertex