iqm.pulse.utils.get_other_colour

iqm.pulse.utils.get_other_colour#

iqm.pulse.utils.get_other_colour(station_properties, qubit)#

Get the set of qubits that are in the other colour than the given qubit.

Parameters:
  • station_properties (StationProperties) – StationProperties object.

  • qubit (str) – Qubit to get the other colour from.

Returns:

The qubits in the other colour.

Return type:

set[str]