Skip to main content

All Questions

Filter by
Sorted by
Tagged with
2 votes
1 answer
798 views

How to implement subplots (several blochsphere plots) using qiskit?

Qiskit seems to use matplotlib for rendering bloch spheres under the hood. Therefore, it would be nice if we could also make use of matplotlib's subplot technique. I would like to implement subplots, ...
Eldar Sultanow's user avatar
2 votes
1 answer
329 views

How to implement SU(2) rotation with qiskit?

Before I start, I would like to say sorry for this possibly stupid question of mine. I just recently got into the topic of quantum computing and try me there. I'm currently trying to display a SU(2) ...
Fation's user avatar
  • 50
2 votes
1 answer
939 views

When using Qiskit's plot_bloch_vector function, how can I set colors for vectors?

I am able to visualize vectors on a bloch sphere using Qiskit as follows: ...
Eldar Sultanow's user avatar
5 votes
2 answers
1k views

Bloch Sphere of Qiskit logo

Trying to plot the Bloch Sphere of the IBM Qiskit logo ...
Van Peer's user avatar
  • 577
1 vote
1 answer
90 views

How the arguments of $U_3$ gate are converted when they're not lying in the expected range?

From the qiskit documentation (here), a general form of a single qubit unitary is $$ U(\theta, \phi, \lambda) = \begin{pmatrix} \cos\left(\frac{\theta}{2}\right) & -e^{i\lambda} \sin\left(\frac{\...
ZR-'s user avatar
  • 2,408
6 votes
1 answer
759 views

Can I simultaneously plot 2 vectors on a single Bloch sphere and rotate the angle of visualization?

I'm trying to plot 2 vectors on the same Bloch sphere. From the qiskit documentation here, we can find ...
ZR-'s user avatar
  • 2,408
1 vote
1 answer
1k views

how to plot probability histogram and/or bloch sphere of single qubit in multi-qubit quantum circuit in Qiskit?

How can I get statevector and/or blochsphere representation of qubits of my choice. For example I have 3 qubits with different gates being applied on each qubit. the qiskit state_vector simulator ...
Muhammad Kashif's user avatar