google / qhbm-library

Quantum Hamiltonian-Based Models built on TensorFlow Quantum
https://qhbm-library.readthedocs.io/en/latest/
Apache License 2.0
40 stars 15 forks source link

Replace custom code with TF op #141

Closed zaqqwerty closed 2 years ago

zaqqwerty commented 2 years ago

Replace logic of unique_bitstrings_with_counts with tf.raw_ops.UniqueWithCountsV2.

Resolves #1, and part of addressing #133. Also resolves #76, since no library code has tf.function anymore; instead, tracing and graphs are to be addressed in #136.