mbqc_scheduling.Path

class mbqc_scheduling.Path(time, space, steps)

Bases: object

The information describing a valid initalization-measurement path.

__init__(time, space, steps)

Create a new Path object.

Parameters:
  • time (int) – The number of (parallel) steps (should be the length of steps).

  • space (int) – The number of required qubits.

  • steps (list[list[int]]) – The initialization-measurement steps.

Return type:

Path

Methods

__init__(time, space, steps)

Create a new Path object.

Attributes

space

The number of required qubits.

steps

The initialization-measurement steps.

time

The number of (parallel) steps.

space

The number of required qubits.

steps

The initialization-measurement steps.

time

The number of (parallel) steps.