iqm.qrisp_iqm.passes.routing.core.types.data_dtype

Contents

iqm.qrisp_iqm.passes.routing.core.types.data_dtype#

iqm.qrisp_iqm.passes.routing.core.types.data_dtype(n_physical: int, n_nodes: int) → dtype#

Return dtype for instruction_data (Mx3) arrays.

Stores both qubit indices (0..N-1) and instruction indices (0..M-1).

Parameters:
  • n_physical (int)

  • n_nodes (int)

Return type:

dtype