Skip to content

Commit

Permalink
Refactor and clean up of engine client and helper objects. (#2720)
Browse files Browse the repository at this point in the history
Refactor and clean up of engine client and helper objects to standardized on ids over names and add all missing functionality except listing programs and jobs.
  • Loading branch information
lindmarkm committed Feb 25, 2020
1 parent 3a6ad8d commit dec7313
Show file tree
Hide file tree
Showing 24 changed files with 3,660 additions and 1,728 deletions.
2 changes: 1 addition & 1 deletion cirq/google/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
engine_from_environment,
EngineJob,
EngineProgram,
JobConfig,
EngineProcessor,
ProtoVersion,
QuantumEngineSampler,
)
Expand Down
1 change: 0 additions & 1 deletion cirq/google/api/v1/params_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,6 @@ def example_sweeps():
@pytest.mark.parametrize('param_sweep', example_sweeps())
def test_param_sweep_size_versus_gen(param_sweep):
sweep = params.sweep_from_proto(param_sweep)
print(sweep)
predicted_size = len(sweep)
out = list(sweep)
assert len(out) == predicted_size
Expand Down

0 comments on commit dec7313

Please sign in to comment.