tqec.plaquette.plaquette.RepeatedPlaquettes#

class RepeatedPlaquettes(collection: FrozenDefaultDict[int, Plaquette], repetitions: LinearFunction)[source]#

Represent plaquettes that should be repeated for several rounds.

__init__(collection: FrozenDefaultDict[int, Plaquette], repetitions: LinearFunction) None#

Methods

__init__(collection, repetitions)

map_indices(callable)

num_rounds(k)

repeat(repetitions)

to_name_dict()

with_updated_plaquettes(plaquettes_to_update)

Attributes

has_default

repetitions

collection