From a372c8e8755127e51f85a6ed38c4262ef8d338c1 Mon Sep 17 00:00:00 2001 From: Nour Yosri Date: Thu, 7 Nov 2024 13:44:29 -0800 Subject: [PATCH] nit --- cirq-core/cirq/experiments/z_phase_calibration.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cirq-core/cirq/experiments/z_phase_calibration.py b/cirq-core/cirq/experiments/z_phase_calibration.py index 97c9dabbede..0c1de94f30a 100644 --- a/cirq-core/cirq/experiments/z_phase_calibration.py +++ b/cirq-core/cirq/experiments/z_phase_calibration.py @@ -73,7 +73,7 @@ def z_phase_calibration_workflow( cycle_depths: The cycle depths to use. random_state: The random state to use. atol: Absolute tolerance to be used by the minimizer. - pool_or_num_workers: An optional multi-processing pool or number of workers. + num_workers_or_pool: An optional multi-processing pool or number of workers. A zero value means no multiprocessing. A positivie integer value will create a pool with the given number of workers. A negative value will create pool with maximum number of workers. @@ -209,7 +209,7 @@ def calibrate_z_phases( cycle_depths=cycle_depths, random_state=random_state, atol=atol, - pool_or_num_workers=num_workers_or_pool, + num_workers_or_pool=num_workers_or_pool, ) gates = {}