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

Expose hardware prng sequence #515

Open
wants to merge 17 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
crates/lib/src/qpu/experimental @erichulburd
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't have push permissions to this repository, which is probably related to the error reported by Github here.

crates/python/src/qpu/experimental.rs @erichulburd
crates/python/qcs_sdk/qpu/experimental.pyi @erichulburd
crates/python/tests/qpu/test_experimental.py @erichulburd
10 changes: 5 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions crates/lib/src/executable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -344,10 +344,9 @@ impl Executable<'_, '_> {
}

fn get_readouts(&self) -> &[Cow<'_, str>] {
return self
.readout_memory_region_names
self.readout_memory_region_names
.as_ref()
.map_or(&[Cow::Borrowed("ro")], Vec::as_slice);
.map_or(&[Cow::Borrowed("ro")], Vec::as_slice)
}

/// Execute on a QVM which must be available at the configured URL (default <http://localhost:5000>).
Expand Down
11 changes: 11 additions & 0 deletions crates/lib/src/qpu/experimental/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
//! This module supports experimental features that meet the following criteria:
//!
//! * They support recent and compelling research in quantum computing.
//! * Implementation is specific to Rigetti's QPUs; implementation may
//! not otherise be expressed through a generalized quantum computing
//! language, such as Quil or QASM.
//!
//! As such, the features contained herein should be considered unstable, possibly
//! ephemeral, and subject to specific authorization checks.
pub mod random;
pub mod randomized_measurements;
Loading
Loading