Entanglement

Entanglement.compute_entanglement_measures(rho_in, opts)
COMPUTE_ENTANGLEMENT_MEASURES

Quick dispatcher for entanglement measures. Covers several commonly used indicators, supports selective evaluation, and allows custom extensions.

Inputs:

rho_in : density matrix or quantum channel Choi matrix opts : struct with optional fields:

.dims - subsystem dimensions (default: auto infer) .measures - cell array of target measure names .custom_measures - struct; each field name is a measure label,

each value is a function handle f(rho, dims)

.return_table - true/false, convert output to table .normalize_trace - true/false, normalize trace automatically

Output:

result : struct or table containing values and meta data