Bloch Vector Noise Models
This notebook guide specifies a reproducible qubit calculation for visualizing noise models in Bloch-vector form. The goal is to simulate dephasing, depolarizing, and amplitude-damping channels, plot Bloch-vector trajectories, and compare discrete channels with continuous-time master-equation limits.
As of this review, no executable notebook under notebooks/density-open-systems/bloch-vector-noise-models/ is promoted as a reproduced artifact. This page is the admission contract for that notebook: it states the models, basis conventions, analytic checks, plotting requirements, and validation tests required before its numerical outputs should be cited.
Purpose
Section titled “Purpose”The notebook should demonstrate how to:
- convert between density matrices and Bloch vectors;
- apply standard qubit noise channels to fixed test states;
- visualize contractions, translations, and fixed points inside the Bloch ball;
- compare channel parameters with continuous-time rates;
- validate trace preservation, Hermiticity, positivity, and Bloch-ball constraints;
- diagnose convention mistakes in basis ordering and Pauli-matrix signs;
- keep exploratory plots separate from accepted reproducible outputs.
The first version should stay deliberately small. A single qubit is enough to expose the relationship between channel formulas, master-equation rates, and geometric intuition.
Directory Plan
Section titled “Directory Plan”Use a dedicated directory:
notebooks/density-open-systems/bloch-vector-noise-models/ bloch-vector-noise-models.ipynb README.mdThe opening notebook cell or README.md should state:
- Python and package versions;
- basis ordering and Pauli-matrix convention;
- whether is the or Bloch-sphere pole;
- channel parameter definitions;
- rate conventions for continuous-time comparisons;
- numerical tolerance for positivity and trace checks;
- plotting backend and saved-output paths;
- date and commit identifier when the notebook is promoted.
Bloch Representation
Section titled “Bloch Representation”Use
with
The notebook should use the standard matrices
With this convention, the state is the pole and is the pole.
A physical qubit state satisfies
The notebook should verify this inequality after every channel application. A norm slightly above at the level of roundoff should be reported separately from a true positivity failure.
Affine Channel Form
Section titled “Affine Channel Form”Every qubit channel acts on Bloch vectors as an affine map
where is a real matrix and is a real translation vector. Unital channels have and send the maximally mixed state to itself. Amplitude damping is not unital; it translates the Bloch ball toward the ground state.
The notebook should compute and numerically from channel action on the four states
then compare against analytic formulas. This catches transposition, basis, and sign mistakes that may not show up in one trajectory.
Baseline Channels
Section titled “Baseline Channels”Implement at least three noise models.
Dephasing
Section titled “Dephasing”Use the dephasing-channel convention
For a continuous pure-dephasing model with coherence decay rate ,
The notebook should plot a trajectory whose transverse components shrink while is unchanged. It should also test a state on the equator, where the visual contraction is easiest to see.
Depolarizing
Section titled “Depolarizing”Use the qubit depolarizing-channel convention
Complete positivity requires
The notebook should test at least one valid negative and one invalid value below . The invalid value should fail a Choi-positivity check in the companion channel-simulation helpers, not merely look odd in a plot.
For a continuous-time depolarizing semigroup, one common parametrization is
The notebook must state which generator convention produces this decay.
Amplitude Damping
Section titled “Amplitude Damping”Use the zero-temperature amplitude-damping Kraus operators
With the as convention, the Bloch-vector action is
For the continuous spontaneous-emission master equation,
The notebook should show that all initial states flow toward the ground-state fixed point
Channel Versus Master-Equation Limits
Section titled “Channel Versus Master-Equation Limits”The notebook should compare finite-time channels with master-equation solutions in at least two ways:
- Use analytic finite-time parameters such as and .
- Use the finite-time map from the vectorized Liouvillian in Solving Lindblad Equations.
The comparison should report a numerical error such as
where is a declared finite test set and is the Frobenius norm.
This page does not require a full proof that the sampled set detects every possible error. It requires enough fixed tests that a convention mistake is likely to fail loudly.
Test States
Section titled “Test States”Use a deterministic set of initial states:
Random states may be added after the deterministic tests pass, but they should not replace them.
Plot Requirements
Section titled “Plot Requirements”The accepted notebook should produce:
- a Bloch-ball or Bloch-disk plot for dephasing showing transverse contraction;
- a depolarizing plot showing isotropic shrinkage toward the origin;
- an amplitude-damping plot showing translation toward ;
- time traces of , , and for at least one initial state;
- an error-versus-time or error-versus-step-size diagnostic for a continuous-time comparison.
Plots should label the basis convention and channel parameter. A beautiful Bloch sphere is less important than a plot whose coordinates can be checked from the saved data.
Validation Tests
Section titled “Validation Tests”The notebook should include automated checks:
| Check | Required condition |
|---|---|
| Hermiticity | below tolerance |
| trace | $ |
| positivity | smallest eigenvalue above negative tolerance |
| Bloch norm | within tolerance |
| Kraus completeness | below tolerance |
| analytic Bloch map | matrix-vector result agrees with formula |
| finite-time limit | channel and Liouvillian propagation agree |
At least one deliberately invalid depolarizing parameter should fail positivity. A validation notebook that never tests a bad input may be less trustworthy than one that proves it can reject one.
Accepted Outputs
Section titled “Accepted Outputs”The notebook should save:
notebooks/density-open-systems/bloch-vector-noise-models/outputs/ dephasing-bloch-trajectory.svg depolarizing-bloch-trajectory.svg amplitude-damping-bloch-trajectory.svg bloch-noise-validation.jsonThe validation file should include:
- package versions;
- declared basis convention;
- channel parameters;
- numerical tolerances;
- maximum trace error;
- minimum eigenvalue observed;
- maximum analytic-comparison error;
- whether the invalid-channel test failed as expected.
No page in the documentation should cite these plots as authoritative until the validation file exists and the notebook has a reproducibility status entry.
Common Mistakes
Section titled “Common Mistakes”- Using as the north pole in one cell and the south pole in another.
- Confusing the dephasing shrink factor with a probability parameter.
- Applying amplitude damping with the ground and excited states swapped.
- Assuming every affine map that keeps a few plotted points inside the Bloch ball is completely positive.
- Comparing a channel parameter directly with a rate instead of using .
- Letting a numerical ODE step produce a slightly unphysical state without measuring the error.
- Drawing Bloch trajectories without saving the numeric coordinates used to make them.
Exercises
Section titled “Exercises”Bloch Vector of a Density Matrix
Section titled “Bloch Vector of a Density Matrix”For
compute the Bloch vector in the convention of this page.
Solution
Use . The diagonal entries give
The real off-diagonal part gives
and the imaginary off-diagonal part gives
Thus
Dephasing Trajectory
Section titled “Dephasing Trajectory”An initial state has Bloch vector . Under pure dephasing with , what is ?
Solution
Dephasing maps
Therefore
The state moves inward along the axis toward the maximally mixed state.
Amplitude-Damping Fixed Point
Section titled “Amplitude-Damping Fixed Point”Show that the amplitude-damping affine map on this page has fixed point for any .
Solution
The map is
A fixed point satisfies and . For , , so .
For ,
Thus
and since ,
The fixed point is therefore , the ground state in this convention.
Invalid Depolarizing Parameter
Section titled “Invalid Depolarizing Parameter”Why should a notebook deliberately test a depolarizing shrink factor ?
Solution
For a qubit depolarizing channel, complete positivity requires . A value below can still send some individual Bloch vectors to points inside the Bloch ball, so plotting a few states is not enough. Testing an invalid value verifies that the Choi-positivity check can reject maps that are positive-looking in limited samples but not valid quantum channels.
Cross-Links
Section titled “Cross-Links”- Bloch Sphere
- Common Noise Channels
- Dephasing Channel
- Depolarizing Channel
- Amplitude-Damping Channel
- Pure Dephasing Master Equation
- Amplitude Damping Master Equation
- Simulating Quantum Channels
- Solving Lindblad Equations
References
Section titled “References”- M. A. Nielsen and I. L. Chuang, Quantum Computation and Quantum Information, Cambridge University Press, 2010.
- H.-P. Breuer and F. Petruccione, The Theory of Open Quantum Systems, Oxford University Press, 2002.
- I. Bengtsson and K. Życzkowski, Geometry of Quantum States, Cambridge University Press, 2006.
- J. Preskill, Lecture Notes for Physics 229: Quantum Information and Computation, California Institute of Technology.