Demolition measurement protocol for transmon qubits