Skip to content

Commit a41481c

Browse files
MichaelBroughtonrht
authored andcommitted
Fix backwards incompatible pandas usage. (quantumlib#4873)
Experiment with latest CI break.
1 parent d02c9bf commit a41481c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cirq-core/cirq/experiments/t2_decay_experiment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def plot_bloch_vector(self, ax: Optional[plt.Axes] = None, **plot_kwargs: Any) -
425425
# by squaring <X> and <Y> expectation values
426426
bloch_vector = self._expectation_pauli_x ** 2 + self._expectation_pauli_y ** 2
427427

428-
ax.plot(self._expectation_pauli_x['delay_ns'], bloch_vector, 'r+-', **plot_kwargs)
428+
ax.plot(self._expectation_pauli_x['delay_ns'], bloch_vector['value'], 'r+-', **plot_kwargs)
429429
ax.set_xlabel(r"Delay between initialization and measurement (nanoseconds)")
430430
ax.set_ylabel('Bloch Vector X-Y Projection Squared')
431431
ax.set_title('T2 Decay Experiment Data')

0 commit comments

Comments
 (0)