"Basic" not defined (from tutorial)
basernapairs opened this issue · comments
I found this error at mat(sym_cphase(4,2,1)) (minute 3:53) by following this tutorial ⤵
https://asciinema.org/a/HaDO421J58cmKhIBbVPhJHIr7?speed=2
Thanks for the issue, this clip needs to be updated.
One needs to import SymEngine explicitly to use the symbolic features.
using SymEngine
@basernapairs you can't use a number as symbols, please refer to SymEngine
README: https://github.com/symengine/SymEngine.jl#working-with-scalar-variables
Thanks for the issue, this clip needs to be updated.
@GiggleLiu have we updated the GIF?
bump @GiggleLiu can you update that GIF if it's not then we can close this issue?
The clip has been updated, please check the updated tutorial: https://tutorials.yaoquantum.org/dev/