quara.protocol.qtomography.standard.projected_linear_estimator module
- class ProjectedLinearEstimationResult(estimated_var_sequence, computation_times, template_qoperation)[source]
Bases:
quara.protocol.qtomography.standard.linear_estimator.LinearEstimationResultConstructor
- Parameters
computation_times (List[float]) – computation times for each estimate.
estimated_var_sequence (List[numpy.ndarray]) –
template_qoperation (quara.protocol.qtomography.qtomography.QTomography) –
- class ProjectedLinearEstimator(mode_proj_order='eq_ineq')[source]
Bases:
quara.protocol.qtomography.standard.linear_estimator.LinearEstimator- Parameters
mode_proj_order (str) –
- calc_estimate(qtomography, empi_dists, is_computation_time_required=False)[source]
calculates estimate variables.
see
calc_estimate()- Parameters
qtomography (quara.protocol.qtomography.standard.standard_qtomography.StandardQTomography) –
empi_dists (List[Tuple[int, numpy.ndarray]]) –
is_computation_time_required (bool) –
- Return type
quara.protocol.qtomography.standard.linear_estimator.LinearEstimationResult
- calc_estimate_sequence(qtomography, empi_dists_sequence, is_computation_time_required=False)[source]
calculates sequence of estimate variables.
- Parameters
qtomography (quara.protocol.qtomography.standard.standard_qtomography.StandardQTomography) –
empi_dists_sequence (List[List[Tuple[int, numpy.ndarray]]]) –
is_computation_time_required (bool) –
- Return type
quara.protocol.qtomography.standard.linear_estimator.LinearEstimationResult
- property mode_proj_order: str
returns the order in which the projections are performed.
- Returns
the order in which the projections are performed.
- Return type
str