def phase_flip_operators(p):
    """
    Return the phase flip kraus operators
    """
    k0 = np.sqrt(1 - p) * I
    k1 = np.sqrt(p) * Z
    return k0, k1
def phase_flip_operators ( p ) : k0 = np . sqrt ( 1 - p ) * I k1 = np . sqrt ( p ) * Z return k0 , k1
Return the phase flip kraus operators