Manuscript En02-E@2 · En02-E-v2.tex · section · c2769986

Unexecuted reproducibility supplement

Unexecuted reproducibility supplement · lines 2114–2173

Back to manuscript

def operational_pilot(a,dataset): record = "dataset_id":dataset,"a":a, "encoding":"declared Clifford encoding", "field_information_transferred":"nonvacuum probability only", "IT_error":.75*(1-a),"even_two_slot_error":.75-.25*a, "prefixes":[] evenN = None for odd in (False,True): V = encoder(odd) check(dataset+"_encoder_"+str(odd),V.conj().T@V,I) for t in range(4): name = dataset+"_operational_ A,dk,ek = dilation(V,a,t) save(name,A=A,**{"unit_ jwrite(name+"_basis",{ "A_axes":["accessible configuration","environment configuration","message"], "accessible_order":dk,"environment_order":ek, "packet_symbols":"0":"vacuum","1":"occupied rail 0","2":"occupied rail 1", "environment_branch_0":"all five encoded rails retained", "environment_branch_1":"remaining encoded rails t+1 through 5", "message_order":[0,1], "raw_packet_binary_map":"0":"00","1":"10","2":"11", "unused_packet_binary":"01, assigned failure"}) check(name+"_isometry",A.reshape(-1,2).conj()[email protected](-1,2),I) N = channel(A) channel_check(N,name) record["prefixes"].append("odd":odd,"t":t, "prepared_accessible_entropy":entropy(N[0,0]), "Bell_complement_distance":decoupling(A)) if t==3: for low in ([False,True] if not odd else [False]): decname = name+"_decoder_"+str(low) ops = decoder_kraus(dk,odd,low) kraus_archive(ops,decname) binaryops,B = binary_decoder(ops,dk) kraus_archive(binaryops,decname+"_binary") save(decname+"_embedding",physical_to_binary=B) out = {} for i,j,E in units(): out[i,j] = apply_ops(ops,N[i,j]) expected = a*(E+X@E@X)/2+(1-a)*dep(E) if low \ else a*E+(1-a)*dep(E) check(decname+"_unit_ save(decname+"_decoded", **{"unit_ channel_check(out,decname+"_decoded") if not odd: evenN = N DATA["operational"].append(record) ledgers(dataset) dump() return evenN

def cp_psd(A): import cvxpy as cp B = (A+A.H)/2 Re,Im = cp.real(B),cp.imag(B) return cp.bmat([[Re,-Im],[Im,Re]]) >> 0

Nearby in this section