The disclosure relates to a quantum detector configured to receive a microwave signal from a microwave source. The quantum detector comprises a main element formed by a main Josephson junction and a Josephson transmission line which is coupled to the main element for outputting a measurement signal. The Josephson transmission line comprises at least a first set of JTL elements and a second set of JTL elements. The capacitively shunted Josephson junction in each JTL element in the first set is weakly damped, and the JTL element in the second set are more strongly damped than the JTL elements in the first set.