We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11f8a7f commit 4869dc7Copy full SHA for 4869dc7
gauge_theory/gauge_theory.py
@@ -294,13 +294,13 @@ def topo_charge_density_4d(cfg):
294
gauge_adj(open_plaqs_below(cfg, mu, nu)) +
295
open_plaqs_above(cfg, nu, mu) +
296
open_plaqs_below_behind(cfg, mu, nu)
297
- ) / 4
+ ) / 2
298
F_rhosig = (
299
open_plaqs_above(cfg, rho, sig) +
300
gauge_adj(open_plaqs_below(cfg, rho, sig)) +
301
open_plaqs_above(cfg, sig, rho) +
302
open_plaqs_below_behind(cfg, rho, sig)
303
304
F_munu = gauge_proj_traceless((F_munu - gauge_adj(F_munu)) / 2)
305
F_rhosig = gauge_proj_traceless((F_rhosig - gauge_adj(F_rhosig)) / 2)
306
topo = topo - np.trace(F_munu @ F_rhosig, axis1=-1, axis2=-2)
0 commit comments