levisim.multiphysics.covariance

Time-domain (covariance matrix) description of a MultiTrap

The rest of levisim solves the quantum Langevin equations in the frequency domain to get spectra. Entanglement is a property of the STATE, i.e. of equal-time second moments, so here the same drift and noise matrices are used in the Lyapunov equation instead:

dV/dt = A·V + V·Aᵀ + D        steady state:  A·V + V·Aᵀ + D = 0

with A the drift matrix and D the diffusion matrix, both in the real quadrature basis u = (A, P, X_x1, P_x1, X_y1, P_y1, …) of levisim’s operator ordering c = (a, a†, b_x1, b_x1†, …), where for every mode X = b + b† and P = i(b† - b). The covariance V_ij = ½〈{Δu_i, Δu_j}〉 then has the vacuum as the identity, which is the convention of levisim.analysis.gaussian_states.

The noise is levisim’s: each operator pair (c_k, c_k†) with damping γ_k and occupation n_k (the factors in MultiTrap.quantum_factor_per_noise_operator) contributes γ_k(2n_k + 1) to the diffusion of both of its quadratures.

levisim.multiphysics.covariance.complex_to_quadrature_transform(num_operators)[source]

Matrix T with u = T @ c, from levisim’s operator ordering c = (a, a†, b_x1, b_x1†, …)

levisim.multiphysics.covariance.quadrature_drift_matrix(complex_drift_matrix)[source]

Drift matrix in the quadrature basis, T·A·T⁻¹, which is real for any Hermitian Hamiltonian

levisim.multiphysics.covariance.quadrature_diffusion_matrix(mtrap)[source]

Diffusion matrix D for the Lyapunov equation, from the MultiTrap’s dampings and occupations

D = diag(γ_k(2n_k + 1)) on both quadratures of every mode, with 2n_k + 1 being the sum of the pair of factors (n_k + 1, n_k) levisim keeps per operator pair. [2π·Hz]

levisim.multiphysics.covariance.steady_state_covariance(mtrap)[source]

Steady-state covariance matrix of the MultiTrap’s single-tone Linear Amplifier Model

Solves A·V + V·Aᵀ + D = 0 with levisim’s own (time-independent, tweezer-frame) drift matrix. Raises if the drift matrix is unstable, because then no steady state exists.

levisim.multiphysics.covariance.mode_index(mtrap, label)[source]

Index of a mode in the quadrature covariance matrix: 0 for the cavity, then the dimensions

levisim.multiphysics.covariance.dimension_covariance(mtrap, V, labels)[source]

Covariance matrix of the given dimensions (e.g. [‘x1’, ‘y1’]), in the order given