def METHOD_NAME():
    # This is equivalent to an X-basis measurement.
    ops = [
        np.array([[1, 1], [1, 1]], dtype=np.complex64) * 0.5,
        np.array([[1, -1], [-1, 1]], dtype=np.complex64) * 0.5,
    ]
    x_meas = cirq.KrausChannel(ops, key='x_meas')
    assert (
        repr(x_meas)
        == """\