We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb4e3a3 commit 436b84dCopy full SHA for 436b84d
src/bloqade/stim/dialects/noise/emit.py
@@ -94,10 +94,10 @@ def non_stim_corr_error(
94
prob_str: str = ", ".join(prob)
95
96
res = (
97
- f"I_ERROR[{stmt.name}:{emit.correlation_identifier_offset}]({prob_str}) "
+ f"I_ERROR[{stmt.name}:{emit.correlated_error_count}]({prob_str}) "
98
+ " ".join(targets)
99
)
100
- emit.correlation_identifier_offset += 1
+ emit.correlated_error_count += 1
101
emit.writeln(frame, res)
102
103
return ()
src/bloqade/stim/emit/stim_str.py
@@ -26,6 +26,7 @@ def initialize(self):
26
super().initialize()
27
self.file.truncate(0)
28
self.file.seek(0)
29
+ self.correlated_error_count = self.correlation_identifier_offset
30
return self
31
32
def eval_stmt_fallback(
0 commit comments