catalyst icon indicating copy to clipboard operation
catalyst copied to clipboard

Test all qubit templates

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

All templates that work with qubit devices should be tested. At the moment most templates are tested, but there are a few templates which are missing from the tests.

  • ~HilbertSchmidt~
  • ~LocalHilbertSchmidt~
  • ~ArbitraryUnitary~
  • ~ParticleConservingU1~
  • ~ParticleConservingU2~
  • Broadcast (Double odd)
  • Broadcast (Custom)

The tests should be placed in the test_template.py file along with the other templates.

erick-xanadu avatar Mar 15 '23 13:03 erick-xanadu

Hi, I'd like to work on this issue. I see the following comment in test_template.py:

# Hilbert Schmidt templates take a quantum tape as a parameter.
# Therefore unsuitable for JIT compilation

Should there still be tests for HS and Local HS?

ndcroos avatar Aug 28 '23 20:08 ndcroos