pypi pyquil 2.24.0
v2.24.0

latest releases: 4.10.1, 4.10.1rc0, 4.10.0...
3 years ago

Announcements

Improvements and Changes

  • run_and_measure now only measures the qubits that are used in a program
    (rather than all qubits on the device) when the target QAM is a QVM without
    noise. This prevents the QVM from exhausting memory when it tries to allocate
    for e.g. 32 qubits when only e.g. 2 qubits are used in the program (@notmgsk,
    #1252)

  • Include a py.typed so that libraries that depend on pyquil can validate
    their typing against it (@notmgsk, #1256)

  • Fix Apache 2 license (@mpharrigan, #1255)

  • Removed warnings expected in normal workflows that cannot be avoided
    programmatically. This included the warning about passing native Quil to
    native_quil_to_executable. Documentation has been updated to clarify
    expected behavior (@mhodson-rigetti, gh-1267).

Bugfixes

  • Fixed incorrect return type hint for the exponential_map function, which
    now accepts both float and MemoryReference types for exponentiation
    (@mhodson-rigetti, gh-1243).

Don't miss a new pyquil release

NewReleases is sending notifications on new releases.