Skip to main content
edited tags
Link
glS
  • 26.9k
  • 6
  • 35
  • 121
deleted 26 characters in body; edited tags
Source Link
Martin Vesely
  • 14.9k
  • 4
  • 31
  • 73

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$H$ gate, the function returns something like [0.5, 0.5]

Thank you.

Best regards[0.5, 0.5].

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]

Thank you.

Best regards.

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].

Source Link
user12910
  • 451
  • 1
  • 4
  • 9

How to get state vector probabilities in Q#

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]

Thank you.

Best regards.