Side-channel-secure quantum key distribution with state-dependent correlated errors and Trojan-horse attack | Synapse