Jae H. Yoo

Results 34 comments of Jae H. Yoo

Thank you @rmlarose. plus, I want to ask a tiny question. In chapter02.pdf, there is a sentence like `would lead to operating effectively on 4-vectors as C^2 is equivalent to...

@rmlarose Thank you for clarification 👍

I am bumping up the TFQ version to be compatible with TF v2.11.0. During this unstable phase, could you please share the installation error log that I can help you...

Hi @VishuKalier2003 , I installed tensorflow quantum from scratch based on the newly updated https://github.com/jaeyoo/quantum/blob/master/docs/install.md#4-build-tensorflow-from-source. Please pay attention to the TF build line with the explanations: ``` Build the TensorFlow...

Could you please try this? ``` !pip install tensorflow==2.3.1 !pip install tensorflow_quantum==0.4.0 ``` and please don't forget to restart the runtime kernel of the colab.

Recent update : the real culprit is related to this issue: https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1814653 Let me investigate & fix it soon.

let's fix: ``` ====================================================================== FAIL: test_adj_grad_inputs (__main__.ADJGradTest) ADJGradTest.test_adj_grad_inputs Make sure that the expectation op fails gracefully on bad inputs. ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/runner/.cache/bazel/_bazel_runner/865e0ada367db183bc26de9a3083631f/execroot/__main__/bazel-out/k8-opt/bin/tensorflow_quantum/core/ops/tfq_adj_grad_op_test.runfiles/__main__/tensorflow_quantum/core/ops/tfq_adj_grad_op_test.py", line 58, in...

I realized that the real culprit is serializer code: ``` for i, moment in enumerate(circuit): controlled_ops = [ op for op in moment if isinstance(op, cirq.ControlledOperation) ] new_ops = dict()...

https://github.com/tensorflow/quantum/issues/762#issuecomment-1509371564 Please, please rebuild TF 2.11.0 with the right build options: ABI is set to 1, std c++ is 17. Here is the newly updated installation guideline: https://github.com/tensorflow/quantum/blob/master/docs/install.md#4-build-tensorflow-from-source

https://github.com/actions/setup-python maybe do we need to bump up the vesion? (from v1 to v2?)