mm.math.hermite_renormalized_diagonal_batch¶
- math.hermite_renormalized_diagonal_batch(B, C, cutoffs)¶
First, reorder A and B parameters of Bargmann representation to match conventions in mrmustard.math.compactFock~ Then, calculates the required renormalized multidimensional Hermite polynomial. Same as hermite_renormalized_diagonal but works for a batch of different B’s.
- Return type:
ndarray
[Tuple
[int
,...
],Union
[TypeVar
(R
,float16
,float32
,float64
),TypeVar
(C
,complex64
,complex128
),TypeVar
(Z
,int16
,int32
,int64
),TypeVar
(N
,uint16
,uint32
,uint64
)]]
code/api/mrmustard.math.hermite_renormalized_diagonal_batch
Download Python script
Download Notebook
View on GitHub