Library / Noise Channel / Noise Channel API

Noise Channel API

Types and calls for density tables.

Types

Table 1. Types.
TypeMeaning
DensityA Hermitian, trace-one table, upper triangle stored.
MapNamedepolarize, dephase, amp-damp, pauli-mix, reset.
MapStringCanonical text of the sequence, copied onto ledger records.

A width-10 density table is about 8 MiB of packed payload. The default ceiling is width 10 on one host. Wider tables go through Device Span. See that product’s density section.

Calls

Table 2. Calls.
CallReturnsFaults
Noise.as_density(register)DensityClosed register, ceiling
Density.apply(name, on, …)NoneParameter, trace, hermiticity, negativity
Density.expect(observables)Ledger record, source noise-channelSyntax
Density.map_string()MapStringNone