This phase II study in patients undergoing elective cardiac surgery will evaluate the efficacy, safety, and pharmacokinetics of remimazolam, compared with propofol and sevoflurane, during the induction and maintenance of general anesthesia.