I run a circuit using:
jobCircuit = Sampler(backend).run(circuit)
resultCircuit = jobCircuit.result()
How can I access to a state vector of the circuit? I tried to use get_counts()
but I got an error which says it's not an attribute of the object resultCircuit
.
Sampler
instead ofbackend.run(circuit)
? $\endgroup$