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

Design pspec sslbl bug in modelpacks #474

Open
sserita opened this issue Jul 31, 2024 · 0 comments
Open

Design pspec sslbl bug in modelpacks #474

sserita opened this issue Jul 31, 2024 · 0 comments
Labels
bug A bug or regression
Milestone

Comments

@sserita
Copy link
Contributor

sserita commented Jul 31, 2024

Describe the bug
The processor_spec in GST designs output by modelpacks do not properly set qubit_labels.

Pretty sure the problem is just self._sslbls here:

def processor_spec(self, qubit_labels=None):
"""
Create a processor specification for this model pack with the given qubit labels.
Parameters
----------
qubit_labels : tuple, optional
A tuple of qubit labels, e.g. ('Q0', 'Q1') or (0, 1). The default
are the integers starting at 0.
Returns
-------
QubitProcessorSpec
"""
static_target_model = self.target_model('static', qubit_labels=qubit_labels) # assumed to be an ExplicitOpModel
return static_target_model.create_processor_spec(self._sslbls)

But I'm in the middle of something else so noting it here and will come back to it.

@sserita sserita added the bug A bug or regression label Jul 31, 2024
@sserita sserita added this to the 0.9.13 milestone Jul 31, 2024
sserita added a commit that referenced this issue Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug or regression
Projects
None yet
Development

No branches or pull requests

1 participant