A comparative study of the optical and circuit representation of the unambiguous quantum state discriminator