Return benchmark performance in GOPS (Gate operations per second)

def benchmark_gops(N, gates, reps):
    """Return benchmark performance in GOPS (Gate operations per second)"""
    t = timeit.timeit(lambda: benchmark(N, gates), number=reps)
    gops = (GATES*REPS)/t
    gops = int((gops * 100) + 0.5) / 100.0
    return gops