1
$\begingroup$

Is there a similare function in Q# like Statevector.probabilities in Qiskit to get state vector probability, for example, if my circuit contains one qubit with one $H$ gate, the function returns something like [0.5, 0.5].

$\endgroup$

1 Answer 1

2
$\begingroup$

You may be looking for DumpMachine which will gove you all the information about the whole quantum machine including complex amplitudes and phases. You can find the tutorials here : here

$\endgroup$
0

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.