Levosimendan is a calcium sensitizer drug which has been used in cardiac surgery for the prevention of postoperative low cardiac output syndrome ( LCOS ) and in difficult weaning from cardiopulmonary bypass ( CPB ) .