spheres.utils.from_pauli_basis

spheres.utils.from_pauli_basis(coeffs, basis=None)[source]

Given a dictionary mapping Pauli strings to components, returns the corresponding density matrix/operator.

Parameters

exps (dict) –

Returns

operator

Return type

qt.Qobj