You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The second plot generated by the code for visualizing magnetization over time uses the ylabel "magnetization $\langle Z_1 Z_2 \rangle$", which suggests a correlation measurement between the first and second qubits. However, the observable used is defined as SparsePauliOp(["ZI", "IZ"]), which measures the Z component independently on the first and second qubits. This leads to a potential misunderstanding of what the plot represents.
Suggested Label Changes
Instead of the current ylabel, I suggest one of the following, depending on the actual computation performed:
If measurements are plotted separately: Use two separate plots or labels stating $\langle Z_1 \rangle$ and $\langle Z_2 \rangle$ respectively.
If measurements are aggregated (e.g., summed or averaged): Use labels such as "Average magnetization of $Z_1$ and $Z_2$" or "Sum magnetization $\langle Z_1 \rangle + \langle Z_2 \rangle$".
How can we reproduce the issue?
run tutorial 10 pqvd.
Look where the following code is located (second plot).
Environment
Algorithms: 0.30
What is happening?
Description
The second plot generated by the code for visualizing magnetization over time uses the ylabel "magnetization$\langle Z_1 Z_2 \rangle$ ", which suggests a correlation measurement between the first and second qubits. However, the observable used is defined as
SparsePauliOp(["ZI", "IZ"])
, which measures the Z component independently on the first and second qubits. This leads to a potential misunderstanding of what the plot represents.Suggested Label Changes
Instead of the current ylabel, I suggest one of the following, depending on the actual computation performed:
$\langle Z_1 \rangle$
and$\langle Z_2 \rangle$
respectively.How can we reproduce the issue?
run tutorial 10 pqvd.
Look where the following code is located (second plot).
Code Reference
The relevant code snippet is as follows:
What should happen?
Axis name should be$\langle Z_1 \rangle + \langle Z_2 \rangle$ .
Any suggestions?
No response
The text was updated successfully, but these errors were encountered: