Hamlet is an opera in two acts by Australian composer Brett Dean, with an English libretto by Matthew Jocelyn, which is based on William Shakespeare's play of the same name. The libretto uses "as little as 20 per cent" of the play's text and also takes inspiration from the "first quarto" as it "offers a different view on certain moments".