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 8aa2695 commit 53669a2Copy full SHA for 53669a2
tests/test_quditcircuit.py
@@ -444,3 +444,4 @@ def test_quditcircuit_amplitude_before_wrapper():
444
c.x(0)
445
nodes = c.amplitude_before("00")
446
assert isinstance(nodes, list)
447
+ assert len(nodes) == 5 # one gate (X on qudit 0) -> single node in the traced path
0 commit comments