Skip to content

Cirq simulation regressions #1763

@mpharrigan

Description

@mpharrigan

This issue tracks problems that had to be worked around to bump our Cirq version from 1.4 onwards in #1761. Note that many unit tests in the qualtran.bloqs quantum standard library use a Cirq simulator for numerical simulation. A way forward might be to re-work these unit tests to use native Qualtran tensor contraction.

Note: the performance regressions are likely a consequence of the kludge needed in #1761.

Performance regressions

  • qualtran.bloqs.hamiltonian_simulation.hamiltonian_simulation_by_gqsp_test.test_hamiltonian_simulation_by_gqsp
  • qualtran.bloqs.rotations.hamming_weight_phasing_test.test_hamming_weight_phasing
    • n=6, 7 now marked as slow

Tests marked slow that likely got slower

Breakages

  • qualtran.bloqs.reflections.reflection_using_prepare_test.test_reflection_using_prepare now gets SIGKILL -ed. See test_reflection_using_prepare broken with cirq 1.5 #1737
  • qualtran.bloqs.rotations.hamming_weight_phasing_test.test_hamming_weight_phasing n=8 causes SIGKILL
  • qualtran.bloqs.rotations.phasing_via_cost_function_test.test_hamming_weight_phasing_using_phase_via_cost_function
  • qualtran.bloqs.rotations.quantum_variable_rotation_test.test_qvr_phase_gradient_cost_reg_greater_than_b_grad

Related issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    cirq_interopIssues related to Cirq interop

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions