tensorflow / quantum

Hybrid Quantum-Classical Machine Learning in TensorFlow
https://www.tensorflow.org/quantum
Apache License 2.0
1.79k stars 572 forks source link

How to change the output range from [-1,1] to [0,1] (probabilistic)? #735

Closed Shuhul24 closed 1 year ago

Shuhul24 commented 1 year ago

As mentioned in the quantum MNIST tutorial (link), output ranges from [-1,1] but there's a note that mentioned that the output range can be shifted to [0,1]. How can it be done?