estimator.prob.amplify#

estimator.prob.amplify(target_success_probability, success_probability, majority=False)[source]#

Return the number of trials needed to amplify current success_probability to target_success_probability

Parameters
  • target_success_probability – targeted success probability < 1

  • success_probability – targeted success probability < 1

  • majority – if True amplify a deicsional problem, not a computational one if False then we assume that we can check solutions, so one success suffices

Returns

number of required trials to amplify