This paper introduces QWIRE ("choir"), a language for defining quantum circuits and an interface for manipulating them inside of an …