Quantum-dot cellular automata exact diagonalization implementation