Simulation of a quantum NOT gate for a single qutrit system