@staticmethod
def _data_pos_z_check(x, y):
    '\n        Determines the position of data qudits in a Z check in order of ticks.\n\n        Check direction:   1  |  2\n                              |\n                           ---+---\n                              |\n                           3  |  4\n\n\n        '
    data_pos = [((x - 1), (y + 1)), ((x + 1), (y + 1)), ((x - 1), (y - 1)), ((x + 1), (y - 1))]
    return data_pos
Determines the position of data qudits in a Z check in order of ticks.

Check direction:   1  |  2
                      |
                   ---+---
                      |
                   3  |  4
@staticmethod
def _data_pos_z_check(x, y):
    '\n        Determines the position of data qudits in a Z check in order of ticks.\n\n        Check direction:   1  |  2\n                              |\n                           ---+---\n                              |\n                           3  |  4\n\n\n        '
    data_pos = [((x - 1), (y + 1)), ((x + 1), (y + 1)), ((x - 1), (y - 1)), ((x + 1), (y - 1))]
    return data_pos