Test `test_hilbert_schmidt_inner_product_is_positive_definite[m6]` fails on aarch64 and ppc64le
See original GitHub issueDescription of the issue
Test test_hilbert_schmidt_inner_product_is_positive_definite[m6]
fails on openSUSE Tumbleweed aarch64/ppc64le
[ 765s] =================================== FAILURES ===================================
[ 765s] _________ test_hilbert_schmidt_inner_product_is_positive_definite[m6] __________
[ 765s]
[ 765s] m = array([[ 0.5+0.5j, -0.5-0.5j],
[ 765s] [ 0.5+0.5j, 0.5+0.5j]])
[ 765s]
[ 765s] @pytest.mark.parametrize('m', (I, X, Y, Z, H, SQRT_X, SQRT_Y, SQRT_Z))
[ 765s] def test_hilbert_schmidt_inner_product_is_positive_definite(m):
[ 765s] v = cirq.hilbert_schmidt_inner_product(m, m)
[ 765s] > assert np.isreal(v)
[ 765s] E assert False
[ 765s] E + where False = <function isreal at 0xffff928f8310>((2.000000000000001+4.930380657631324e-32j))
[ 765s] E + where <function isreal at 0xffff928f8310> = np.isreal
[ 765s]
[ 765s] cirq/linalg/operator_spaces_test.py:166: AssertionError
How to reproduce the issue Run test suite on aarch64 or ppc64le.
Cirq version 0.9.1
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (1 by maintainers)
Top Results From Across the Web
4.4.0 test/unit/pages fails on ppc64le, ppc64, armv7hl ...
on my native Fedora 25 machine and could not reproduce your build observations: no warning when compiling test/unit/pack.c; no error when ...
Read more >Error of Rosetta 3.13 compilation on aarch64 processor
I'm trying to compile rosetta w/ scons by hacking the tools/build/setup_platforms.py, tools/build/basic.settings and tools/build/options.
Read more >aarch64-linux-gnu-gcc Cross Complier for arm fails
It should be aarch64-linux-gnu-g++ . Please try the following steps: Add CXX=aarch64-linux-gnu-g++ in configure command line and run again. ...
Read more >Bug #66242 :: CLI server failure on 64-bit ARM (Aarch64)
Description: ------------ I built php 5.5.4 on ARM AARCH64 CPU, system linux 64bits I ran make test, I got issues: ...
Read more >Fedora ARM - Firefox fails to open on aarch64 Workstation
2063961 – Fedora ARM - Firefox fails to open on aarch64 Workstation. View All Add an attachment (proposed patch, testcase, etc.)
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@risicle added fixes for the tests you list. Could you verify these are now fine. Thanks!
Absolutely. 100%. Perfect - thankyou. 👍