def __eq__(self, other):
if type(self) is type(other) andself._qubits == other._qubits:<EOL><INDENT>return True<EOL><DEDENT>return False<EOL>
Two device specs are the same if they have the same qubits.

        Args:
            other (DeviceSpecification): other DeviceSpecification

        Returns:
            bool: are self and other equal.