Exam4Training

What would be the fidelity result(s) for these two operators, which differ only by global phase?

What would be the fidelity result(s) for these two operators, which differ only by global phase?

op_a = Operator(XGate())

op_b = numpy.exp(1j * 0.5) * Operator(XGate())
A . state_fidelity() of 1.0
B . state_fidelity() and average_gate_fidelity() of 1.0
C . average_gate_fidelity() and process_fidelity() of 1.0
D . state_fidelity(), average_gate_fidelity() and process_fidelity() of 1.0

Answer: C

Exit mobile version