Lattice Mesh · declared noise

Noise Channel

Noise Channel is the Æ Hive product that applies declared noise maps to a pure register or to a density operator, and records the map beside the result.

What Noise Channel owns

Noise Channel is the only Lattice Mesh product that is allowed to take a pure state out of the unitary group. It does that by applying a map the caller named, with parameters the caller named, and by storing that name next to the output. A laboratory result that passed through this product is labeled mixed, even if the map happened to be unitary. Results that never called it stay labeled pure and are not comparable to mixed results in the ledger without an explicit conversion.

Two representations are supported. A Kraus list acts on a State Register by the usual sum Σ_a K_a |ψ⟩⟨ψ| K_a†, which produces a density operator and therefore leaves State Register for a density table. A superoperator acts on a density table directly. Bond Contract does not accept noise in the current laboratory profile. Factoring a mixed state is a different contract and is not implied by the pure-state discarded-weight budget.

Maps in the catalogue

Each map is completely positive and trace preserving on the wires it names. The product checks the Kraus identity Σ_a K_a† K_a = I to a declared tolerance before any amplitude is written. A named map that fails the check is a catalogue defect and aborts. Callers cannot pass raw Kraus operators in the first release. They select a catalogue entry so the check and the documentation stay aligned.

Table 1. Catalogue entries. p and γ are real parameters in [0, 1] unless noted.
NameWhere it actsAction
depolarizeone wireρ ↦ (1−p) ρ + p I/2. The Bloch vector shrinks by the factor (1−p).
dephaseone wireρ ↦ (1−p) ρ + p Z ρ Z. Populations stay. Off-diagonal entries in the Z basis shrink by (1−2p).
amp-dampone wireExcitation |1⟩ decays toward |0⟩. Parameter γ is the probability that |1⟩ emits into |0⟩ in one application.
pauli-mixone or more wiresA list of Pauli operators with probabilities that sum to 1. The identity may carry the leftover mass.
resetone wireReplace that wire by |0⟩⟨0|, traced against the rest of the state. γ is unused. The map is trace preserving on the full system.

Amplitude damping uses two operators on the chosen wire, written in the ordered basis {|0⟩, |1⟩}.

Operators for amp-damp
K0 = [[1, 0],
      [0, sqrt(1-γ)]]
K1 = [[0, sqrt(γ)],
      [0, 0]]

K0 leaves |0⟩ alone and shrinks |1⟩. K1 moves |1⟩ onto |0⟩ with weight √γ. Their completeness relation K0†K0 + K1†K1 equals the identity, which is the check the product runs for every γ in the open interval and at the endpoints 0 and 1.

The density table

A density table for n wires holds a 2^n by 2^n Hermitian matrix, normalized to trace one. Double precision stores the upper triangle including the diagonal, which is about 2^{2n−1} complex numbers. That is the square of a State Register. Width 10 is 2^20 amplitudes of the full matrix before packing, and the laboratory ceiling for a density table defaults to width 10 unless Device Span is opened for the table.

Table 2. Default density-table ceiling on one host, upper-triangle packing, 16 bytes per stored complex entry.
WidthStored entries (order)Approx. payload
4136under 3 KiB
832,896about 0.5 MiB
10524,800about 8 MiB
128.4×10^6about 128 MiB

After every map the product checks three things: the trace is 1 within tolerance, the matrix equals its conjugate transpose within tolerance, and the smallest eigenvalue is at least −τ, where τ is the negativity tolerance (default 10^{-10}). A genuine negative eigenvalue beyond τ is a fault. The laboratory does not clip eigenvalues to zero and continue, because that would change the map.

Depolarizing one wire of the Aether braid

Prepare the Aether braid with State Register, then hand the pure projector to Noise Channel and apply depolarize on wire 0 with strength p. Wires 1 and 2 are untouched by the map. The exact expectations that follow are part of the regression, derived from the pure-state values ⟨Z0⟩ = 0, ⟨Z0 Z1⟩ = 1, ⟨X0 X1 X2⟩ = 1 before the map.

  • ⟨Z0⟩ stays 0, because depolarizing a balanced marginal leaves it balanced.
  • ⟨Z1⟩ and ⟨Z2⟩ stay 0.
  • ⟨Z0 Z1⟩ moves from 1 to 1−p. The correlation on the noised wire shrinks by the same factor as a single-qubit Bloch vector.
  • ⟨Z1 Z2⟩ stays 1. That pair does not include the noised wire.
  • ⟨X0 X1 X2⟩ moves from 1 to 1−p.
Lattice script
pure = aether_braid()          # State Register helper, width 3
mixed = Noise.as_density(pure)
mixed.apply("depolarize", on=0, p=0.1)
ledger = mixed.expect(["Z0*Z1", "Z1*Z2", "X0*X1*X2"])
# expected: 0.9, 1, 0.9

Order of composition

Maps compose in the order they are written, after the unitary prefix that prepared the state. Writing depolarize and then dephase is not the same as the reverse: the two generators do not commute. The report stores the sequence, including parameters, as a canonical string. Two runs with the same string and the same pure prefix must agree within the negativity and trace tolerances. A caller who reorders the lines is asking for a different experiment.

Shot noise is not part of this product. A finite number of measurement samples lives in Observable Ledger. Noise Channel changes the operator that the ledger reads. It does not itself draw bits.

Faults

  • Parameter fault: p or γ outside [0, 1], or Pauli probabilities that do not sum to 1 within tolerance.
  • Identity fault: a catalogue Kraus list fails Σ K†K = I. Treated as a defect.
  • Trace fault, hermiticity fault, or negativity fault after a map.
  • Width fault: the density table exceeds the ceiling. No automatic drop to a pure approximation.
  • Product fault: a caller asks Bond Contract to absorb a channel. The reply names Noise Channel and stops.

Continue in the laboratory