You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
in Python, mz(veq) generates allocations and stores are not optimized away
Note that using cudaq.translate API instead of cudaq.sample works.
Looks like the loop might be created by expand-measurements pass in one case but not in the other.
Consider optimizing away unused array allocations.
Add tests for python
The following generated code is not accepted on some backends, it errors out with RuntimeError: [line 10] cannot declare bit register. Only 1 bit register(s) is/are supported:
Required prerequisites
Describe the feature
We have a pipeline support for backends using OpenQasm2 but bunch of tests fail due to missing optimizations.
Some unused globals are not removed:
Fix failing tests that use TranslateToOpenQASM pipeline #2379
CCZ
andr?<adj>
operations need to be decomposedFix failing tests that use TranslateToOpenQASM pipeline #2379
quake.concat
andquake.subveq
need expansionquake.subveq
used inmz(veq)
in Python,
mz(veq)
generates allocations and stores are not optimized awaycudaq.translate
API instead ofcudaq.sample
works.Looks like the loop might be created by expand-measurements pass in one case but not in the other.
Consider optimizing away unused array allocations.
Add tests for python
The following generated code is not accepted on some backends, it errors out with
RuntimeError: [line 10] cannot declare bit register. Only 1 bit register(s) is/are supported
:Related: #2325
The text was updated successfully, but these errors were encountered: