Technically speaking, it wouldn't be adultery anyway--adultery is sex with someone who is married to someone else. If Padme and Anakin weren't married, it would be fornication, but since they are, this violates the Jedi Order's rules regarding attachment, so Anakin would be expelled from the Jedi order if the marriage were found out.