Exam4Training

In the circuit given below having statevector simulator as the backend, choose the _missing_element_from the options?

In the circuit given below having statevector simulator as the backend, choose the _missing_element_from the options?

qc = QuantumCircuit(1)

qc.x(0)

qc.z(0)

backend_state = BasicAer.get_backend(‘statevector_simulator’)

result = execute(qc,backend_state).result()._missing_element_
A . get_statevector()
B . get_statevector_state()
C . get_statevector_result()
D . get_state_simulator()

Answer: A

Exit mobile version