localuf.decoders.luf.alternatives

Classes

AlternativeMacarNodes(luf)

Alternative to MacarNodes where valid is an attribute rather than a property and is updated after every PRESYNCING stage.

class localuf.decoders.luf.alternatives.AlternativeMacarNodes(luf)[source]

Bases: Nodes

Alternative to MacarNodes where valid is an attribute rather than a property and is updated after every PRESYNCING stage.

Extends Nodes. Designed to emulate faster than MacarNodes but empirically not. Hence currently unused.

Parameters:

luf (LUF)

property dc
property busy
reset()[source]

Factory reset.

load(syndrome)[source]

Load syndrome onto nodes collection.

update_valid()[source]

Update valid attribute. Call after every PRESYNCING stage.

advance()[source]

Advance 1 timestep.