The sub is plugged into the same socket as the amp. The amps power supply has a ground on the IEC cable, whilst the sub does not. When the subs power is not plugged in but the RCAs are, it still makes the noise.
Maybe someone can make sense of this. With another, different line of QED RCA, it...