A transceiver includes a transmitter, a receiver, and an electrical feedback line. The transmitter has a quadrature-modulator and is configurable to compensa te inphase/quadrature phase imbalances produced by hardware of the transmitter. The quadrature-modulator is configured to quadrature-modulate a carrier wave. Th e receiver has a quadrature-demodulator and is configurable to compensate for inphase/quadrature phase imbalances produced by hardware in the receiver. Th e quadrature-demodulator is configured to demodulate a quadrature-demodulated carrier. The electrical feedback line connects an output of the transmitter to an input of the receiver.