tqec.templates.display.display_template#
- display_template(template: Template, k: int, plaquette_indices: Sequence[int] | None = None) None [source]#
Display a template instance with ASCII output.
- Parameters:
template – the Template instance to display.
plaquette_indices – 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)
.