Calculations on Gaussian Integrals

This module contains gaussian integral functions and related helper functions.

Functions

complex_gaussian_integral_1(Abc, idx_z, ...)

Computes the complex Gaussian integral

complex_gaussian_integral_2(Abc1, Abc2, ...)

Computes the complex Gaussian integral

join_Abc(Abc1, Abc2[, mode])

Joins two (A,b,c) triples into a single (A,b,c).

join_Abc_real(Abc1, Abc2, idx1, idx2)

Direct sum of two (A,b,c) triples into a single (A,b,c) triple, where indices corresponding to the same variable are "fused together", by considering their Bargmann function as having the same variables.

real_gaussian_integral(Abc, idx)

Computes the Gaussian integral of the exponential of a real quadratic form.

reorder_abc(Abc, order)

Reorders the indices of the A matrix and b vector of an (A,b,c) triple.

Variables

ComplexMatrix

ndarray(shape, dtype=float, buffer=None, offset=0,

ComplexTensor

ndarray(shape, dtype=float, buffer=None, offset=0,

ComplexVector

ndarray(shape, dtype=float, buffer=None, offset=0,

Sequence

A generic version of collections.abc.Sequence.

math

A class to manage the different backends supported by Mr Mustard.