@staticmethod
def _find_data(position_to_qudit, positions, ticks):
    '\n        From the positions given for possible data qudits, add the qudits and their corresponding ticks for each qudit\n        that does exist.\n\n        :param position_to_qudit:\n        :param positions:\n        :param ticks:\n        :return:\n        '
    data_list = []
    tick_list = []
    for (i, p) in enumerate(positions):
        data = position_to_qudit.get(p, None)
        if (data is not None):
            data_list.append(data)
            tick_list.append(ticks[i])
    return (data_list, tick_list)
From the positions given for possible data qudits, add the qudits and their corresponding ticks for each qudit
that does exist.

:param position_to_qudit:
:param positions:
:param ticks:
:return:
@staticmethod
def _find_data(position_to_qudit, positions, ticks):
    '\n        From the positions given for possible data qudits, add the qudits and their corresponding ticks for each qudit\n        that does exist.\n\n        :param position_to_qudit:\n        :param positions:\n        :param ticks:\n        :return:\n        '
    data_list = []
    tick_list = []
    for (i, p) in enumerate(positions):
        data = position_to_qudit.get(p, None)
        if (data is not None):
            data_list.append(data)
            tick_list.append(ticks[i])
    return (data_list, tick_list)