Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flake: test_estimate_parallel_readout_errors_batching #4404

Closed
balopat opened this issue Aug 11, 2021 · 0 comments · Fixed by #4406
Closed

Flake: test_estimate_parallel_readout_errors_batching #4404

balopat opened this issue Aug 11, 2021 · 0 comments · Fixed by #4406
Labels
flake kind/health For CI/testing/release process/refactoring/technical debt items

Comments

@balopat
Copy link
Contributor

balopat commented Aug 11, 2021

Description of the issue

https://github.com/quantumlib/Cirq/pull/4334/checks?check_run_id=3300474396

________________ test_estimate_parallel_readout_errors_batching ________________

    def test_estimate_parallel_readout_errors_batching():
        qubits = cirq.LineQubit.range(10)
        sampler = cirq.ZerosSampler()
Coverage.py warning: Data file '/home/runner/work/Cirq/Cirq/.coverage.fv-az204-721.2736.855433' doesn't seem to be a coverage data file: Couldn't use data file '/home/runner/work/Cirq/Cirq/.coverage.fv-az204-721.2736.855433': no such table: coverage_schema
        repetitions = 1000
        result = cirq.estimate_parallel_single_qubit_readout_errors(
            sampler, qubits=qubits, repetitions=repetitions, trials=45, trials_per_batch=10
        )
>       assert result.zero_state_errors == {q: 0.0 for q in qubits}
E       assert {cirq.LineQub...(3): 0.0, ...} == {cirq.LineQub...(3): 0.0, ...}
E         Omitting 9 identical items, use -vv to show
E         Differing items:
E         {cirq.LineQubit(8): nan} != {cirq.LineQubit(8): 0.0}
E         Full diff:
E           {
E            cirq.LineQubit(0): 0.0,
E            cirq.LineQubit(1): 0.0,
E            cirq.LineQubit(2): 0.0,
E            cirq.LineQubit(3): 0.0,
E            cirq.LineQubit(4): 0.0,
E            cirq.LineQubit(5): 0.0,
E            cirq.LineQubit(6): 0.0,
E            cirq.LineQubit(7): 0.0,
E         -  cirq.LineQubit(8): 0.0,
E         ?                     ^^^
E         +  cirq.LineQubit(8): nan,
E         ?                     ^^^
E            cirq.LineQubit(9): 0.0,
E           }

cirq-core/cirq/experiments/single_qubit_readout_calibration_test.py:182: AssertionError

Cirq version

0.12.0.dev

@balopat balopat added the kind/health For CI/testing/release process/refactoring/technical debt items label Aug 11, 2021
@balopat balopat changed the title Flake: Flake: test_estimate_parallel_readout_errors_batching Aug 11, 2021
@balopat balopat added the flake label Aug 11, 2021
CirqBot pushed a commit that referenced this issue Aug 11, 2021
rht pushed a commit to rht/Cirq that referenced this issue May 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flake kind/health For CI/testing/release process/refactoring/technical debt items
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant