Use of small-scale quantum computers in cryptography with many-qubit entangled states