Skip to content

Commit

Permalink
checkpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
NoureldinYosri committed Sep 19, 2024
1 parent 8c244e7 commit 552b7df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cirq-core/cirq/experiments/z_phase_calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def z_phase_calibration_workflow(
)

if options is None:
options = xeb_fitting.XEBPhasedFSimCharacterizationOptions().with_defaults_from_gate(
options = xeb_fitting.XEBPhasedFSimCharacterizationOptions(characterize_chi=False, characterize_gamma=False, characterize_zeta=False).with_defaults_from_gate(
two_qubit_gate
)

Expand Down Expand Up @@ -164,7 +164,7 @@ def calibrate_z_phases(
"""

if options is None:
options = xeb_fitting.XEBPhasedFSimCharacterizationOptions().with_defaults_from_gate(
options = xeb_fitting.XEBPhasedFSimCharacterizationOptions(characterize_chi=False, characterize_gamma=False, characterize_zeta=False).with_defaults_from_gate(
two_qubit_gate
)

Expand Down
1 change: 0 additions & 1 deletion cirq-core/cirq/experiments/z_phase_calibration_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ def test_calibrate_z_phases(angles, error):
assert new_dist < original_dist or new_dist < 1e-6


@pytest.mark.slow
@pytest.mark.parametrize(['angles', 'error'], _create_tests(n=10, seed=32432432))
def test_calibrate_z_phases_no_options(angles, error):

Expand Down

0 comments on commit 552b7df

Please sign in to comment.