XanaduAI / strawberryfields

Strawberry Fields is a full-stack Python library for designing, simulating, and optimizing continuous variable (CV) quantum optical circuits.
https://strawberryfields.ai
Apache License 2.0
754 stars 191 forks source link

[XPASS(strict)] If this test passes, then the _einsum_v1 patch is no longer needed. #544

Closed kevinsmia1939 closed 3 years ago

kevinsmia1939 commented 3 years ago

Hi,

I install strawberryfield 0.17.0 from github release and run pytest on openSUSE Tumbleweed I got the error below.

[  737s] =================================== FAILURES ===================================
[  737s] ________________________ test_einsum_complex_gradients _________________________
[  737s] [XPASS(strict)] If this test passes, then the _einsum_v1 patch is no longer needed.

Since the test did not pass, do I need _einsum_v1 patch? How do I get it? Is it fine to ignore this error? Or something wrong with my installation?

Operating System: openSUSE Tumbleweed 20210217 KDE Plasma Version: 5.21.0 KDE Frameworks Version: 5.79.0 Qt Version: 5.15.2 Kernel Version: 5.10.16-1-default OS Type: 64-bit Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-3770 CPU @ 3.40GHz Memory: 7.5 GiB of RAM Graphics Processor: Mesa DRI Intel® HD Graphics 4000


 [226/378]  python38-base-3.8.7-2.1
 [227/378]  python38-HeapDict-1.0.1-2.2
 [228/378]  python38-PyYAML-5.4.1-1.2
 [229/378]  python38-appdirs-1.4.4-2.2
 [230/378]  python38-asn1crypto-1.4.0-1.3
 [231/378]  python38-astor-0.8.1-4.4
 [232/378]  python38-attrs-20.3.0-1.2
 [233/378]  python38-cloudpickle-1.6.0-3.1
 [234/378]  python38-decorator-4.4.2-1.4
 [235/378]  python38-flatbuffers-1.12.0-2.2
 [236/378]  python38-fsspec-0.8.5-2.3
 [237/378]  python38-gast-0.4.0-1.2
 [238/378]  python38-idna-3.1-1.1
 [239/378]  python38-iniconfig-1.1.1-1.2
 [240/378]  python38-locket-0.2.0-2.9
 [241/378]  python38-more-itertools-8.6.0-1.2
 [242/378]  python38-ordered-set-3.1.1-5.2
 [243/378]  python38-py-1.9.0-1.5
 [244/378]  python38-pyasn1-0.4.8-1.7
 [245/378]  python38-pycparser-2.20-1.7
 [246/378]  python38-pyparsing-2.4.7-2.4
 [247/378]  python38-repoze.lru-0.7-2.8
 [248/378]  python38-sortedcontainers-2.3.0-2.1
 [249/378]  python38-termcolor-1.1.0-13.5
 [250/378]  python38-toml-0.10.2-2.1
 [251/378]  python38-toolz-0.10.0-1.5
 [252/378]  python38-wcwidth-0.2.5-2.2
 [260/378]  python38-msgpack-1.0.2-1.2
 [261/378]  python38-pybind11-2.6.2-2.1
 [262/378]  python38-pytz-2021.1-1.1
 [263/378]  python38-six-1.15.0-2.2
 [264/378]  python38-wrapt-1.12.1-2.2
 [270/378]  python38-antlr4-python3-runtime-4.9.1-1.2
 [271/378]  python38-chardet-4.0.0-1.2
 [272/378]  python38-gmpy-1.17-2.14
 [274/378]  python38-llvmlite-0.34.0-1.3
 [279/378]  python38-3.8.7-2.1
 [288/378]  python38-abseil-0.11.0-2.2
 [289/378]  python38-dask-2021.2.0-2.1
 [290/378]  python38-graphviz-0.14.1-1.4
 [291/378]  python38-networkx-2.5-4.1
 [292/378]  python38-protobuf-3.14.0-1.3
 [293/378]  python38-python-dateutil-2.8.1-1.5
 [294/378]  python38-retrying-1.3.3-5.9
 [295/378]  python38-tblib-1.7.0-1.2
 [296/378]  python38-zict-2.0.0-1.3
 [297/378]  python38-zipp-3.4.0-1.2
 [301/378]  python38-mpmath-1.1.0-1.9
 [302/378]  python38-packaging-20.8-1.1
 [303/378]  python38-partd-1.1.0-1.4
 [306/378]  python38-cffi-1.14.5-1.1
 [307/378]  python38-psutil-5.8.0-1.1
 [308/378]  python38-tornado6-6.1-2.1
 [310/378]  python38-numpy-1.20.1-1.1
 [317/378]  python38-tornado-6.1-15.1
 [318/378]  python38-importlib-metadata-3.4.0-1.1
 [319/378]  python38-opt-einsum-3.3.0-1.2
 [321/378]  python38-Keras-Preprocessing-1.1.0-2.7
 [323/378]  python38-dask-array-2021.2.0-2.1
 [324/378]  python38-dask-multiprocessing-2021.2.0-2.1
 [327/378]  python38-h5py-3.1.0-4.1
 [330/378]  python38-pandas-1.2.2-1.1
 [331/378]  python38-setuptools-44.1.1-4.2
 [332/378]  python38-scipy-1.5.4-2.8
 [340/378]  python38-click-7.1.2-2.2
 [341/378]  python38-pluggy-0.13.1-1.5
 [342/378]  python38-Keras-Applications-1.0.8-2.4
 [343/378]  python38-wheel-0.36.2-1.1
 [344/378]  python38-sympy-1.7.1-1.2
 [345/378]  python38-pip-20.2.4-1.3
 [347/378]  python38-dask-bag-2021.2.0-2.1
 [348/378]  python38-cryptography-3.3.2-1.1
 [349/378]  python38-dask-dataframe-2021.2.0-2.1
 [351/378]  python38-numba-0.51.2-1.3
 [354/378]  python38-astunparse-1.6.3-1.7
 [355/378]  python38-certifi-2020.12.5-1.3
 [356/378]  python38-pyOpenSSL-20.0.1-1.1
 [357/378]  python38-quantum-blackbird-0.3.0-2.7
 [359/378]  python38-pytest-6.2.2-1.1
 [362/378]  python38-pytest-mock-3.1.1-1.3
 [363/378]  python38-urllib3-1.26.3-2.1
 [365/378]  python38-distributed-2021.2.0-2.1
 [368/378]  tensorflow2-2.4.0-3.2
 [370/378]  python38-dask-distributed-2021.2.0-2.1
 [371/378]  python38-requests-2.25.1-3.1
 [373/378]  python38-plotly-4.12.0-1.3
 [376/378]  python38-dask-dot-2021.2.0-2.1
 [377/378]  python38-dask-all-2021.2.0-2.1
 [378/378]  python38-thewalrus-0.14.0-2.4
josh146 commented 3 years ago

Hi @kevinsmia1939, it is fine to ignore this, this is just a test comment (it is not an error or a warning)

kevinsmia1939 commented 3 years ago

Hi @kevinsmia1939, it is fine to ignore this, this is just a test comment (it is not an error or a warning)

Got it, thank you.