bures_measure_state_matrix

forest.benchmarking.operator_tools.random_operators.bures_measure_state_matrix(dim: int) → numpy.ndarray

Given a Hilbert space dimension dim, returns a dim by dim positive semidefinite matrix drawn from the Bures measure [OSZ].

[OSZ]Random Bures mixed states and the distribution of their purity. Osipov et al. J. Phys. A: Math. Theor. 43, 055302 (2010). https://doi.org/10.1088/1751-8113/43/5/055302 https://arxiv.org/abs/0909.5094
Parameters:dim – Hilbert space dimension.
Returns:Returns a dim by dim matrix, drawn from the Bures measure.