catalyst icon indicating copy to clipboard operation
catalyst copied to clipboard

Counts does not return the same type as PL

Open erick-xanadu opened this issue 2 years ago • 1 comments

  • Expected behavior: In PL qml.counts() returns a dictionary. I would expect in catalyst to also return a dictionary.

  • Actual behavior: In Catalyst qml.counts() returns a tuple of arrays.

erick-xanadu avatar Oct 27 '23 13:10 erick-xanadu

Not a bug, but happy to see this as an improvement now that we have PyTree support :)

dime10 avatar Nov 08 '23 19:11 dime10