Compactly accessible categories and quantum key distribution (Logical Methods in Computer Science, 2008)