Skip to content

Commit

Permalink
Fix #474
Browse files Browse the repository at this point in the history
  • Loading branch information
sserita committed Sep 24, 2024
1 parent eacea59 commit 88bc27b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygsti/modelpacks/_modelpack.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def processor_spec(self, qubit_labels=None):
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)
return static_target_model.create_processor_spec(qubit_labels if qubit_labels is not None else self._sslbls)

def _get_cachefile_names(self, param_type, simulator):
""" Get the standard cache file names for a modelpack """
Expand Down

0 comments on commit 88bc27b

Please sign in to comment.