Sodium thiopental is an ultra-short-acting barbiturate and has been used commonly within the induction phase of general anaesthesia .