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

fix: #521: exclude isa dead qubits from quilc ISA #522

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

Conversation

BatmanAoD
Copy link
Contributor

Resolves #521

@BatmanAoD BatmanAoD force-pushed the 521-quilc-exclude-isa-dead-qubits branch from 7a1d57a to 3540e36 Compare December 27, 2024 19:23
Copy link

github-actions bot commented Dec 27, 2024

PR Preview Action v1.4.8
🚀 Deployed preview to https://rigetti.github.io/qcs-sdk-rust/pr-preview/pr-522/
on branch qcs-sdk-python-docs at 2024-12-28 00:42 UTC

@BatmanAoD BatmanAoD force-pushed the 521-quilc-exclude-isa-dead-qubits branch from 3540e36 to 12b4ee5 Compare December 27, 2024 19:28
Copy link
Contributor

@kalzoo kalzoo left a comment

Choose a reason for hiding this comment

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

Looking good so far - please address that comment and add test coverage for it then we're 👍

Comment on lines 69 to 73
let edges = edges
.into_iter()
.map(|(k, v)| (k.to_string(), v))
.filter(|(_, e)| e.has_valid_operations())
.collect();
Copy link
Contributor

Choose a reason for hiding this comment

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

To get ahead of a related error - should only be those edges for which both qubits are also included

@BatmanAoD BatmanAoD force-pushed the 521-quilc-exclude-isa-dead-qubits branch from 9f59ab3 to d7d26e0 Compare December 28, 2024 00:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Exclude dead qubits from Compiler ISA structure
2 participants