def _werner_circuit():
    q = QuantumRegister(2, name='q')
    c = ClassicalRegister(1, name='c')
    o = ClassicalRegister(2, name='o')
    C = QuantumCircuit(q, c, o, name='werner')
    C.ry(Parameter('θ'), 0)
    C.measure(0, c)
    C.x(1).c_if(c, 1)
    C.h(0)
    C.h(1).c_if(c, 0)
    C.cx(0, 1).c_if(c, 1)
    C.measure(q, o).c_if(c, 0)
    return C