Controllable magnetic states in chains of coupled φ0 Josephson junctions with ferromagnetic weak links | Synapse