Quantum-state engineering with Josephson-junction devices | Synapse