Confluence results for a quantum lambda calculus with measurements