Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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,
For noiseless QVMs don't measure all qubits #1252)
Include a
py.typed
so that libraries that depend on pyquil can validatetheir typing against it (@notmgsk, Add py.typed #1256)
Fix Apache 2 license (@mpharrigan, Use exact text of Apache 2 license #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 clarifyexpected behavior (@mhodson-rigetti, Clean up noisy warnings encountered in normal work flows #1267).
Bugfixes
exponential_map
function, whichnow accepts both
float
andMemoryReference
types for exponentiation(@mhodson-rigetti, Typing on exponential_map return value is incorrect #1243).