Skip to content

v2.24.0

Compare
Choose a tag to compare
@notmgsk notmgsk released this 05 Nov 16:23
· 330 commits to master since this release

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).