rho_m_flatten
ΒΆ
Post Processing - Classical Shadow - Rho M Flatten
(qurry.process.classical_shadow.rho_m_flatten
)
- qurry.process.classical_shadow.rho_m_flatten.rho_m_flatten_core(shots: int, counts: list[dict[str, int]], random_unitary_um: dict[int, dict[int, Literal[0, 1, 2] | int]], selected_classical_registers: list[int]) tuple[list[ndarray[tuple[int, int], dtype[complex128]]], list[int], float] [source]ΒΆ
Rho M Cell Core calculation and directly return :cls:`ClassicalShadowComplex`.
- Parameters:
- Returns:
- tuple[
list[np.ndarray[tuple[int, int], np.dtype[np.complex128]]], list[int], float
- ]:
The list of rho_m, the sorted list of the selected qubits, and calculation time.