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
from qadence import *
from qadence.draw import display
b0 = X(0) @ X(2)
b1 = X(1) @ X(3)
b2 = kron(b0, b1) # Works up to here, building the correct block
display(b2) # Here fails with "AssertionError: Make sure blocks act on distinct qubits!"
The text was updated successfully, but these errors were encountered:
Hey! Thanks for catching this one. There is unfortunately no obvious way to plot this... unless we convert overlapping blocks to chains.... what do you think is a reasonable plot here? the same as in the first case? because if we have tags around e.g. b0 we will run into trouble
Hey! Thanks for catching this one. There is unfortunately no obvious way to plot this... unless we convert overlapping blocks to chains.... what do you think is a reasonable plot here? the same as in the first case? because if we have tags around e.g. b0 we will run into trouble
I think it would be fine to draw it as if it was a chain.
The following works:
The following does not:
The text was updated successfully, but these errors were encountered: