0
$\begingroup$

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.

$\endgroup$
1
  • $\begingroup$ Is there a reason you need to use Sampler instead of backend.run(circuit)? $\endgroup$ Commented Mar 2 at 18:40

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.