quri_parts.qulacs.overlap_estimator module

create_qulacs_vector_overlap_estimator()

Returns an OverlapEstimator that uses Qulacs vector simulator to calculate magnitude squared overlaps.

Return type:

OverlapEstimator[QulacsStateT]

create_qulacs_vector_overlap_weighted_sum_estimator(executor, concurrency=1)

Returns an OverlapEstimator that uses Qulacs vector simulator to calculate magnitude squared overlaps.

Parameters:
  • executor (Optional['Executor'])

  • concurrency (int)

Return type:

OverlapWeightedSumEstimator[QulacsStateT]

create_qulacs_vector_parametric_overlap_weighted_sum_estimator(estimator)

Create a ParametricOverlapWeightedSumEstimator from an ParametricOverlapWeightedSumEstimator that estimates weighted magnitude squared overlap values by qulacs statevector evaluation.

Parameters:

estimator (OverlapWeightedSumEstimator[QulacsStateT])

Return type:

ParametricOverlapWeightedSumEstimator[QulacsParametricStateT]