linear_inv_state_estimate¶
-
forest.benchmarking.tomography.
linear_inv_state_estimate
(results: List[forest.benchmarking.observable_estimation.ExperimentResult], qubits: List[int]) → numpy.ndarray¶ Estimate a quantum state using linear inversion.
This is the simplest state tomography post processing. To use this function, collect state tomography data with
generate_state_tomography_experiment()
andestimate_observables()
.For more details on this post-processing technique, see https://en.wikipedia.org/wiki/Quantum_tomography#Linear_inversion or see section 3.4 of [WOOD]
[WOOD] Initialization and characterization of open quantum systems. C. Wood. PhD thesis from University of Waterloo, (2015). http://hdl.handle.net/10012/9557 Parameters: - results – A tomographically complete list of results.
- qubits – All qubits that were tomographized. This specifies the order in which qubits will be kron’ed together; the first qubit in the list is the left-most tensor factor.
Returns: A point estimate of the quantum state rho.