Both propofol infusions with oxygen delivered through nasal cannula and isoflurane/N2O ( nitrous oxide ) delivered via a laryngeal mask airway ( LMA ) are used to provide anesthesia for children undergoing magnetic resonance imaging scans .