def METHOD_NAME(self, **options):
    shots = 2000
    backend = self.backend(**options)
    circuits = ref_algorithms.grovers_circuit(final_measure=True, allow_sampling=True)
    targets = ref_algorithms.grovers_counts(shots)
    circuits = transpile(circuits, backend)
    job = backend.run(circuits, shots=shots)
    result = job.result()
    self.assertSuccess(result)
    self.compare_counts(result, circuits, targets, delta=0.1 * shots)