QuantumState and improved protocol