The mechanism of nitrous oxide isn't very well understood. I suppose its possible as a side effect of the nitrous oxide but I would imagine that it would have occurred during the use of the nitrous oxide and not after.
So you've gone to a psychiatrist to see why you had an anxiety attack? Are there any other possible reasons for the anxiety?