Comments (5)
Hi @ggardet. I don't think the ANTLR version should pose any problems here. This seems to be simply a precision issue (in the 18th digit or so), so I'll add a fix for the tests shortly. Hopefully all the tests will pass then.
from blackbird.
I applied this patch on top of 0.3.0 and the tests now pass properly. Thanks!
from blackbird.
Hey @ggardet, thanks for sharing! @thisac or @josh146 will be able to answer your question in more detail soon, but have you tried making sure you have the correct version of ANTLR installed?
[ 58s] ANTLR runtime and generated code versions disagree: 4.9.1!=4.8
We currently pin our version to 4.8
. You can install this version using
pip install antlr4-python3-runtime==4.8
from blackbird.
It is in a build service, so I cannot change the version of ANTLR and must use the version provided by the distribution. x86 is not affected, though.
from blackbird.
@ggardet Let me know if it works for you now when running the tests on the master branch, in which case I can close this issue.
from blackbird.
Related Issues (14)
- Deprecate strawberry_fields_listener.py HOT 3
- blackbird_python: Parse errors raise inappropriate SystemExit HOT 3
- Opposite function of match_template HOT 1
- Add random_interferometer, random_covariance, and random_symplectic functions
- Add requirements-test.txt file
- [openSUSE] antlr4-common.h: No such file or directory, but I check and it exist HOT 3
- [openSUSE] Build failed Visitor.cpp:558:5: error: control reaches end of non-void function HOT 2
- Please provide quantum-blackbird 0.2.4 with test suite HOT 2
- Please provide Blackbird 0.2.4 with test on github to use with Strawberryfield HOT 2
- Port the continuous-integration from Travis to CircleCI HOT 1
- Handling of arrays in templates HOT 1
- TestExpressionArray::test_divide_scalar_array fails on i586 HOT 7
- Tests fails on numpy >= 1.24 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from blackbird.