Optimal Symmetric Ternary Quantum Encryption Schemes