def simple_circuit_with_measure(self):
qr = QuantumRegister(<NUM_LIT:2>)<EOL>cr = ClassicalRegister(<NUM_LIT:2>)<EOL>circ = QuantumCircuit(qr, cr)<EOL>circ.h(qr[<NUM_LIT:0>])<EOL>circ.x(qr[<NUM_LIT:1>])<EOL>circ.measure(qr, cr)<EOL>return circ<EOL>
Return a unitary circuit with measurement.