Compact Josephson φ-Junctions