display_template#
- tqec.templates.display_template(template, k, plaquette_indices=None)[source]#
Display a template instance with ASCII output.
- Parameters:
template (Template) – the Template instance to display.
plaquette_indices (Sequence[int] | None) – the plaquette indices that are forwarded to the call to template.instantiate to get the actual template representation. If None, default to
range(1, template.expected_plaquettes_number + 1)
.k (int)
- Return type:
None