A circuit comprises a first supply line and a second supply line. A capacitor is arranged between the first supply line and the second supply line. The first supply line and the second supply line are inductively coupled, such that a switching current on the second supply line induces a compensating current into the first supply line. The compensating current compensates the switching current by flowing from the second supply line over the capacitor into the first supply line.