Predict the output of the average_gate_fidelity, process_fidelity of the below snippet:

Predict the output of the average_gate_fidelity, process_fidelity of the below snippet:

a = Operator(YGate())

b = np.exp(1j /2) * a

average_gate_fidelity(a,b)

process_fiedlity(a,b)
A . average_gate_fidelity will be 0.5 and  process_fidelity will be 1.0
B . average_gate_fidelity will be 1.0 and process_fidelity will be 0.5
C . average_gate_fidelity will be 0 and process_fidelity will be 0.5
D . average_gate_fidelity will be 1.0 and process_fidelity will be 1.0

Answer: D

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments