QND measurements for future gravitational-wave detectors