Skip to main content
Share Your Experience: Take the 2024 Developer Survey

New answers tagged

1 vote
Accepted

How to get partial probability from measurements in qiskit?

You can use the marginal_counts() function from qiskit.result to get the marginalized counts for the bits that you want (...
Shravan Patel's user avatar
4 votes
Accepted

40th Question IBM Sample test

Qubits are initially in the ∣0⟩ state. The Rz gate, which is a rotation around the z-axis, only changes the phase of the qubit states and not the probabilities of measuring 0 or 1 in the computational ...
Bram's user avatar
  • 654
3 votes
Accepted

Matrix representation of the symmetric subspace for two copies

TL;DR: No. As pointed out by @Tristan Nemoz in the comments, $p_x=\frac{1}{2^{n-1}(2^n+1)}$ independently of $x$, so for $n\geqslant 2$ the conjectured inequality fails. The output probabilities $p$ ...
Adam Zalcman's user avatar
  • 22.9k

Top 50 recent answers are included