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

update(cirq-rigetti): use pyquil v4 #6281

Open
wants to merge 96 commits into
base: main
Choose a base branch
from

Commits on Oct 30, 2023

  1. chore: use pyquil v4

    jselig-rigetti committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    250cba3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    23b6294 View commit details
    Browse the repository at this point in the history
  3. chore: keep key check

    jselig-rigetti committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    f1688ff View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    0daae21 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    cc71d1f View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    2a813ca View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    027ba98 View commit details
    Browse the repository at this point in the history
  8. clean up tests

    bramathon authored and jselig-rigetti committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    83e510e View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    474265b View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    48027f6 View commit details
    Browse the repository at this point in the history

Commits on Nov 27, 2023

  1. Configuration menu
    Copy the full SHA
    21c3fcd View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2023

  1. Configuration menu
    Copy the full SHA
    9ba2ac0 View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2023

  1. Configuration menu
    Copy the full SHA
    5c200c1 View commit details
    Browse the repository at this point in the history
  2. chore: fix lint

    jselig-rigetti committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    8064e4e View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2023

  1. Configuration menu
    Copy the full SHA
    afca68b View commit details
    Browse the repository at this point in the history

Commits on Dec 18, 2023

  1. Configuration menu
    Copy the full SHA
    2cbfe1b View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2024

  1. Configuration menu
    Copy the full SHA
    f9fa557 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2024

  1. Configuration menu
    Copy the full SHA
    bf42e72 View commit details
    Browse the repository at this point in the history
  2. Fix formatting

    bramathon committed Mar 2, 2024
    Configuration menu
    Copy the full SHA
    0b7c216 View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. Configuration menu
    Copy the full SHA
    25ef38d View commit details
    Browse the repository at this point in the history

Commits on May 28, 2024

  1. Update T1 experiment (quantumlib#6487)

    * T1 experiment: add A and B constants to fit, make wait times log-spaced
    
    * lowercase variable names
    
    * update tests
    
    * update tests
    
    * update tests
    
    * update tests
    
    * update tests
    
    * update tests
    
    * update tests
    
    * informative assert statements in tests
    
    * use float wait time
    
    * typecheck
    
    * nits
    eliottrosenberg authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    b1a1c1c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2d4de4f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    da0f221 View commit details
    Browse the repository at this point in the history
  4. Added MSGate to top level (quantumlib#6466)

    * add `MSGate` to top level
    
    * mark `MSGate` as `not_yet_serializable`
    
    * Revert "mark `MSGate` as `not_yet_serializable`"
    
    This reverts commit ffdb3de.
    
    * Test json serialization of cirq.MSGate without custom resolver
    
    Not yet passing.
    
    * Use the "cirq" namespace to JSON-serialize `cirq.MSGate`
    
    The namespace-less cirq_type `MSGate` is used by `cirq_ionq.MSGate`.
    
    ---------
    
    Co-authored-by: Tanuj Khattar <tanujkhattar@google.com>
    Co-authored-by: Pavol Juhas <juhas@google.com>
    3 people authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    7c65f16 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2f92166 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0b93e27 View commit details
    Browse the repository at this point in the history
  7. Fix capitalization of GitHub in docs (quantumlib#6509)

    - Saw an old PR to replace Github with proper capitalization of GitHub.
    - This PR does this on a more consistent basis and updates that PR.
    - Replaces quantumlib#5961
    dstrain115 authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    e3f7cf3 View commit details
    Browse the repository at this point in the history
  8. Bump black from 23.3.0 to 24.3.0 in /dev_tools/requirements/deps (qua…

    …ntumlib#6512)
    
    Bumps [black](https://github.com/psf/black) from 23.3.0 to 24.3.0.
    - [Release notes](https://github.com/psf/black/releases)
    - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
    - [Commits](psf/black@23.3.0...24.3.0)
    
    ---
    updated-dependencies:
    - dependency-name: black
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    b83e63d View commit details
    Browse the repository at this point in the history
  9. Format all files with black-24.3.0 (quantumlib#6513)

    Executed  check/format-incremental --all --apply
    
    No change in code function.
    pavoljuhas authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    32b5a0f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d6333a8 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    1d630f0 View commit details
    Browse the repository at this point in the history
  12. Bump follow-redirects from 1.15.4 to 1.15.6 in /cirq-web/cirq_ts (qua…

    …ntumlib#6501)
    
    Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.4 to 1.15.6.
    - [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
    - [Commits](follow-redirects/follow-redirects@v1.15.4...v1.15.6)
    
    ---
    updated-dependencies:
    - dependency-name: follow-redirects
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    57c6d95 View commit details
    Browse the repository at this point in the history
  13. Add documentation to cirq.decompose protocol regarding specific targe…

    …t gateset (quantumlib#6439)
    
    * Add documentation to cirq.decompose protocol regarding specific target gateset
    
    * Clarify docstring
    
    ---------
    
    Co-authored-by: Noureldin <noureldinyosri@google.com>
    2 people authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    7b285b5 View commit details
    Browse the repository at this point in the history
  14. Add UNIT_SWEEP as an alias for UnitSweep (quantumlib#6518)

    Since this is a singleton, it should use constant naming.
    Since it should also stay consistent with other Sweeps (and for
    backwards compatibility), we will keep the old name as well.
    
    Fixes: quantumlib#5617
    dstrain115 authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    ce3757c View commit details
    Browse the repository at this point in the history
  15. Merge serializable_forms and deserialized_forms (quantumlib#6520)

    * Merge serializable_forms and deserialized_forms
    
    * Documentation for adding gates
    
    * Update documentation for adding CompilationTargetGatesets
    verult authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    8260cf4 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    9931158 View commit details
    Browse the repository at this point in the history
  17. Initialize processor sampler with the default device config key (quan…

    …tumlib#6521)
    
    * add default device config key to grid device metadata
    
    * Revert "add default device config key to grid device metadata"
    
    This reverts commit bcd3533.
    
    * initialize sampler with default device config key and add tests
    
    * add properties to sampler
    
    * dedupe DeviceConfigK, onewas renamed to DeviceConfigSelector
    
    * spelling
    
    * coverage
    
    * address comments
    
    * add fake engine context and client for testing
    
    * lint
    
    * use new FakeEngineContext
    
    * typecheck
    
    * lint , local env not catching CI errors
    
    * signature of fakes  match real impls
    
    * add logic to initialize default values instead of throwing value error
    
    * lint
    
    * rm logging and prefer to throw value error
    senecameeks authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    c4b50e5 View commit details
    Browse the repository at this point in the history
  18. Fix ci-daily workflow failures on Mac OS X (quantumlib#6532)

    Install development version of cirq, but with stable dependencies.
    Avoid using the pip-install `--pre` option because it installs
    pre-release of every direct and transitive dependency.
    
    Example failure: https://github.com/quantumlib/Cirq/actions/runs/8444592307/job/23130415923
    Pass with this change: https://github.com/quantumlib/Cirq/actions/runs/8460206027/job/23179852811
    
    Related to quantumlib#6336
    pavoljuhas authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    1113626 View commit details
    Browse the repository at this point in the history
  19. Bump express from 4.18.1 to 4.19.2 in /cirq-web/cirq_ts (quantumlib#6533

    )
    
    Bumps [express](https://github.com/expressjs/express) from 4.18.1 to 4.19.2.
    - [Release notes](https://github.com/expressjs/express/releases)
    - [Changelog](https://github.com/expressjs/express/blob/master/History.md)
    - [Commits](expressjs/express@4.18.1...4.19.2)
    
    ---
    updated-dependencies:
    - dependency-name: express
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    ef725d7 View commit details
    Browse the repository at this point in the history
  20. Install cirq pre-release with stable dependencies (quantumlib#6534)

    Update instructions to use `pip install cirq~=1.0.dev` for cirq pre-release.
    This matches the latest pre-release with the major version 1.
    
    Avoid using the pip-install `--pre` option as it applies to all
    direct and transitive dependencies that get installed with cirq.
    pavoljuhas authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    9458d09 View commit details
    Browse the repository at this point in the history
  21. Undo temporary version pin of mpmath (quantumlib#6535)

    Version limit on mpmath is unnecessary after quantumlib#6534 because
    cirq pre-releases are now installed with stable dependencies.
    
    This reverts commit e11132e (quantumlib#6477).
    
    Related to quantumlib#6475
    pavoljuhas authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    2311afd View commit details
    Browse the repository at this point in the history
  22. Add FSimViaModelTag (quantumlib#6527)

    * Add FSimViaModelTag
    
    * Add json resolver
    
    * Address the comment
    bichengying authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    91a45a2 View commit details
    Browse the repository at this point in the history
  23. Fix density matrix references in other simulators (quantumlib#6537)

    - These simulators do not use density matrices.
    
    Fixes: quantumlib#6225
    dstrain115 authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    902c66d View commit details
    Browse the repository at this point in the history
  24. Add Serialization and Deserialization Support of FSimViaModelTag. (qu…

    …antumlib#6539)
    
    * Add Serialization and Deserialization Support of FSimViaModelTag.
    
    * Fix the lint
    
    * Update program_pb2.pyi
    bichengying authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    ccedd43 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    cff979a View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    0162147 View commit details
    Browse the repository at this point in the history
  27. Introduce gauge compilation (quantumlib#6526)

    This PR introduces the abstraction for Gauge compilation as well as implementation for Sycamore gate, CZ gate, SqrtCZ gate, ZZ (a.k.a spin inversion), ISWAP gate, and SQRT_ISWAP gate
    NoureldinYosri authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    f3ad0ac View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    782104e View commit details
    Browse the repository at this point in the history
  29. Add FSimViaModel Gate into device.proto (quantumlib#6548)

    * Add FSimViaModel Gate
    
    * Update the name
    
    * Add serialization on grid device
    
    * Fix the test
    bichengying authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    1794650 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    0bb17ea View commit details
    Browse the repository at this point in the history
  31. Loosen the scipy condition in requirements.txt (quantumlib#6549)

    In order to avoid the conflict of requirement specs for packages that need older scipy
    just require that scipy is pinned to versions before 1.13.
    
    For previous context for scipy ~=1.12 see quantumlib#6545 and quantumlib#6543
    bichengying authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    c16a244 View commit details
    Browse the repository at this point in the history
  32. Bugfix in comparison_key and nicer with_dimension of `_BaseAncill…

    …aQid` (quantumlib#6554)
    
    * Bugfix in comparison_key and nicer with_dimension of _BaseAncillaQid
    
    * Fix pylint
    tanujkhattar authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    862439d View commit details
    Browse the repository at this point in the history
  33. Remove the --pre option from verify-published-package.sh (quantumli…

    …b#6536)
    
    Not needed after quantumlib#6534 as cirq pre-releases are installed
    with stable dependencies.
    pavoljuhas authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    5630687 View commit details
    Browse the repository at this point in the history
  34. Improve repr of _BaseAncillaQid classes with prefix (quantumlib#6555)

    * Add failing repr tests for CleanQubit and BorrowableQubit with prefix
    
    * Quote prefix string in repr of `_BaseAncillaQid` classes
    pavoljuhas authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    aafa40b View commit details
    Browse the repository at this point in the history
  35. display tags by str instead of repr in circuit diagrams (quantuml…

    …ib#6530)
    
    Use more readable rendering of tagged operations in diagrams.
    
    Fixes: quantumlib#6411
    richrines1 authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    1d8304f View commit details
    Browse the repository at this point in the history
  36. Avoid state vector normalization if it worsens the round offs (quantu…

    …mlib#6556)
    
    This fixes failure of
    
    check/pytest -n0 cirq-core/cirq/circuits/circuit_test.py::test_final_state_vector
    
    which happened because normalization of a state vector at `np.complex64`
    precision can subtly increase the overall round-off error.
    
    Follow up to quantumlib#6522 and quantumlib#6402
    pavoljuhas authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    3bc6d97 View commit details
    Browse the repository at this point in the history
  37. Bump tar from 6.1.11 to 6.2.1 in /cirq-web/cirq_ts (quantumlib#6559)

    Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.11 to 6.2.1.
    - [Release notes](https://github.com/isaacs/node-tar/releases)
    - [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
    - [Commits](isaacs/node-tar@v6.1.11...v6.2.1)
    
    ---
    updated-dependencies:
    - dependency-name: tar
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    3c6d51d View commit details
    Browse the repository at this point in the history
  38. check/all - exit with error status if any of checks failed (quantumli…

    …b#6561)
    
    Also show status summary of executed checks.
    pavoljuhas authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    714fedf View commit details
    Browse the repository at this point in the history
  39. Add Quantum Engine support for cirq.CZPowGate (quantumlib#6562)

    * Add Quantum Engine support for cirq.CZPowGate
    
    * build protos
    
    * update test
    
    * update test
    
    * add _CZ_POWER_GATE_FAMILY and keep _CZ_GATE_FAMILY
    
    * small revert to original
    
    * black
    
    * update test
    
    * update test
    
    * update test
    
    * add _CZ_POWER_TARGET_GATES
    
    * update target gateset
    
    * update test
    
    * update gatesets
    
    * update gatesets
    
    * update gatesets
    
    * update test
    
    * update test
    
    * update test
    
    * POW instead of POWER
    
    * POW instead of POWER
    eliottrosenberg authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    d61b802 View commit details
    Browse the repository at this point in the history
  40. Add UNKNOWN status code to retryable Quantum Engine errors (quantumli…

    …b#6565)
    
    * Add UNKNOWN status code to retryable errors.
    
    * Update test
    
    * Revert unintended changes.
    
    * More removals.
    
    * Lint formatting
    wcourtney authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    b4bbb02 View commit details
    Browse the repository at this point in the history
  41. Update AQT Backend (quantumlib#6441)

    Adjusted the AQT backend so that it works with the new AQT Arnica API. We also updated the gateset to reflect what we support.
    As we made an extension to the API, we were able to add a feature that lists the workspaces and resources that are available to a user. We also updated tests and documentation accordingly.
    
    Fixes quantumlib#6379
    jbrixon authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    5ece8a9 View commit details
    Browse the repository at this point in the history
  42. CI - downgrade to macos-13 which has the needed Python versions (quan…

    …tumlib#6578)
    
    Problem: macos-latest currently does not provide Python 3.10
    Workaround: temporarily switch to the previous runner macos-13
    
    Fixes quantumlib#6573
    Related to quantumlib#6577
    pavoljuhas authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    e9454c9 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    a2cab0d View commit details
    Browse the repository at this point in the history
  44. Removed deprecated processor_ids (quantumlib#6563)

    * removed deprecated processor_ids in Engine, EngineProgram and EngineClient
    
    * Made processor_id required, engine.md updated
    
    * Update engine.md
    
    removed the `[]` for processor_id
    
    * processor_id required in Engine, omitted a condition in EngineClient
    
    * Format and lint changes made
    
    ---------
    
    Co-authored-by: Pavol Juhas <juhas@google.com>
    2 people authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    c4176e3 View commit details
    Browse the repository at this point in the history
  45. Configuration menu
    Copy the full SHA
    e3068ae View commit details
    Browse the repository at this point in the history
  46. Set maxsize of request queue to Quantum Engine (quantumlib#6576)

    * set maxsize for request queue
    
    * add max message size
    senecameeks authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    79b2954 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    e95e6d3 View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    eeb4204 View commit details
    Browse the repository at this point in the history
  49. Avoid DivisionByZero error when TensorNetwork simplifies to a scalar (q…

    …uantumlib#6586)
    
    Problem: Python 3.12 requires quimb-1.8.0, but quimb-1.8.0 cannot
    evaluate path-info for TensorNetwork consisting of a scalar Tensor.
    
    Solution: Skip path-info evaluation for scalar TensorNetwork.
    Path-info is used for RAM estimation only which is not a problem
    for scalar TensorNetwork-s.
    
    This fixes unit test failure for
    cirq-core/cirq/contrib/quimb/grid_circuits_test.py::test_tensor_expectation_value
    
    Ref: jcmgray/quimb#231
    pavoljuhas authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    ace9c3e View commit details
    Browse the repository at this point in the history
  50. Support Python 3.12 (quantumlib#6516)

    - Fix attribute error in `engine_test.py::test_create_context`
    - Adjust package presence assertion in `test_isolated_env_cloning`
    - Bump up to virtualenv>=20.23, filelock~=3.1, pylatex~=1.4
    - Bump up to grpcio-tools~=1.59.0 and recompile protos
    - Relax qiskit-aer requirement to qiskit-aer~=0.12.0.  Allow qiskit-aer-0.12.0
      which has source archive on PyPI and can be installed for Python 3.12.
    - Bump up to quimb~=1.7 which installs correctly with Python 3.12
      Remove quimb-only dependencies from our requirements, let
      quimb sort out its dependencies itself.
    - CI - add pytest jobs with Python 3.12
    - Skip mysteriously failing test of Contract-a-Grid-Circuit.ipynb
    
    Fixes quantumlib#6460
    pavoljuhas authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    77693fc View commit details
    Browse the repository at this point in the history
  51. NEP-29 - enforce minimum Python version 3.10 (quantumlib#6591)

    - Raise exception if running with Python <= 3.9.x
    - Clean up checks and notes relevant for old Pythons
    - Bump up to numpy~=1.22 which is effectively the minimum version
      that works with Python 3.10.  We are a bit more permissive than
      NEP 29 which suggests numpy-1.23+.
    
    Fixes: quantumlib#6463
    Ref: https://numpy.org/neps/nep-0029-deprecation_policy.html
    pavoljuhas authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    d503e7b View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    77e3a0f View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    4769f83 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    a21219b View commit details
    Browse the repository at this point in the history
  55. CI - deflake Isolated pytest Ubuntu (quantumlib#6593)

    Problem: `test_isolated_packages` may run clashing parallel builds
    of a local `cirq_core` wheel.
    
    Solution: Run pip-install with the `--no-clean` option so parallel
    builds do not delete active files.
    
    Also invoke isolated_packages_test.py with `--enable-slow-tests` in CI
    to include non-slow tests if ever added to that file.
    pavoljuhas authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    df4d14e View commit details
    Browse the repository at this point in the history
  56. Configuration menu
    Copy the full SHA
    7c76fb9 View commit details
    Browse the repository at this point in the history
  57. Suppress superfluous warnings from numpy (quantumlib#6599)

    * Suppress superfluous warnings from numpy
    
    - On MacOS, with numpy ~1.26, np.linalg.det gives
    spurious warnings when passed a complex array.
    - Suppress these warnings, as they are just annoying
    and do not signify anything.
    dstrain115 authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    71cf6e7 View commit details
    Browse the repository at this point in the history
  58. CI - deflake Isolated pytest Ubuntu (quantumlib#6603)

    Problem: `test_isolated_packages.py` is still flaky and can fail on
    parallel builds of a local `cirq_core` wheel.
    
    Solution: Use per-worker copy of the cirq-core sources so that parallel
    builds do not have conflicting build files.
    
    Follow-up to quantumlib#6593
    pavoljuhas authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    c2ad35a View commit details
    Browse the repository at this point in the history
  59. Release pins from all pytest-related packages (quantumlib#6602)

    Remove top-version limits on the pytest-related package.
    These pins were introduced a while ago and are hopefully
    not needed anymore.
    
    Require coverage>=7.4 which is the first minor release with
    the updated test-passing output from `coverage annotate`.
    pavoljuhas authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    5ad129b View commit details
    Browse the repository at this point in the history
  60. Create a generalized uniform superposition state gate (quantumlib#6506)

    * Create generalized_uniform_superposition_gate.py
    
     Creates a generalized uniform superposition state, $\frac{1}{\sqrt{M}} \sum_{j=0}^{M-1}  \ket{j} $ (where 1< M <= 2^n), 
        using n qubits, according to the Shukla-Vedula algorithm [SV24].
    
        Note: The Shukla-Vedula algorithm [SV24] offers an efficient approach for creation of a generalized uniform superposition 
        state of the form, $\frac{1}{\sqrt{M}} \sum_{j=0}^{M-1}  \ket{j} $, requiring only $O(log_2 (M))$ qubits and $O(log_2 (M))$ 
        gates. This provides an exponential improvement (in the context of reduced resources and complexity) over other approaches in the literature.
    
    Reference:
    [SV24] A. Shukla and P. Vedula, “An efficient quantum algorithm for preparation of uniform quantum superposition states,” 
     Quantum Information Processing, 23(38): pp. 1-32 (2024).
    prag16 authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    4597f56 View commit details
    Browse the repository at this point in the history
  61. --- (quantumlib#6610)

    updated-dependencies:
    - dependency-name: requests
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    Co-authored-by: Noureldin <noureldinyosri@google.com>
    2 people authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    8d3ef80 View commit details
    Browse the repository at this point in the history
  62. Add Quantum Engine Support for InternalGate (quantumlib#6613)

    * add internal gate to device proto
    
    * build protos
    
    * tests pass
    
    * add docstring
    
    * build protos
    
    * build protos
    senecameeks authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    a330a62 View commit details
    Browse the repository at this point in the history
  63. Fix nightly build of the staging cirq website (quantumlib#6615)

    - Fix syntax error in `docs/noise/_index.yaml`
    - Stop including deleted yaml file
    - Format with the yaml_format Google tool
    
    Fixes quantumlib#6587
    pavoljuhas authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    ca516fd View commit details
    Browse the repository at this point in the history
  64. Update list of pre-release notebooks (quantumlib#6609)

    - Update the stale list of pre-release notebooks by
      dropping notebooks that work with the last release 1.3.0
    - Enable notebook tests that pass at Cirq HEAD
    - Fix old instructions on installing pre-release cirq
    - Add missing import to examples/stabilizer_code.ipynb
    
    Ref: https://github.com/quantumlib/Cirq/blob/main/docs/dev/notebooks.md
    pavoljuhas authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    8ea8e1c View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    fc5f932 View commit details
    Browse the repository at this point in the history
  66. Fix spurious failure of the check/all script (quantumlib#6611)

    - Avoid passing an empty string argument to `check/format-incremental`
      when invoked from `check/all`
    
    - Improve validation of the git-revision argument in check scripts by
      allowing git tags that resolve to a commit
    
    - Fix invalid use of `?` in egrep pattern
    
    - Make check/mypy pass in the dev.env.txt virtual environment
    pavoljuhas authored and jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    38ce205 View commit details
    Browse the repository at this point in the history
  67. Configuration menu
    Copy the full SHA
    95b9511 View commit details
    Browse the repository at this point in the history
  68. chore: fix lint errors

    jselig-rigetti committed May 28, 2024
    Configuration menu
    Copy the full SHA
    0aeff33 View commit details
    Browse the repository at this point in the history
  69. Configuration menu
    Copy the full SHA
    864f323 View commit details
    Browse the repository at this point in the history

Commits on May 29, 2024

  1. Configuration menu
    Copy the full SHA
    6853c28 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b0596f9 View commit details
    Browse the repository at this point in the history
  3. fix: linting

    jselig-rigetti committed May 29, 2024
    Configuration menu
    Copy the full SHA
    a4422e7 View commit details
    Browse the repository at this point in the history
  4. chore: format

    jselig-rigetti committed May 29, 2024
    Configuration menu
    Copy the full SHA
    51e3b63 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b6318f1 View commit details
    Browse the repository at this point in the history

Commits on May 30, 2024

  1. Configuration menu
    Copy the full SHA
    8ca86d2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    69cc065 View commit details
    Browse the repository at this point in the history