def __new__(cls, x: int) -> cirq.LineQubit:
        """Initializes a line qid at the given x coordinate.

        Args:
            x: The x coordinate.
        """
        inst = cls._cache.get(x)
        if inst is None:
            inst = super().__new__(cls)
            inst._x = x
            inst._hash = hash(x)
            cls._cache[x] = inst
        return inst
Initializes a line qid at the given x coordinate.

        Args:
            x: The x coordinate.
        
cirq-core/cirq/devices/line_qubit.py