• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Qiskit / qiskit-ibm-runtime / 7729012573
83%

Build:
DEFAULT BRANCH: main
Ran 31 Jan 2024 04:20PM UTC
Jobs 12
Files 169
Run time 29s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 Jan 2024 04:13PM UTC coverage: 59.27% (+0.008%) from 59.262%
7729012573

push

github

web-flow
Set use_symengine on qpy generation if symengine is installed (#1355)

This commit sets the use_symengine flag during qpy export used during
job payload generation if symengine is installed. For qiskit <1.0
symengine is a hard dependency on platforms that have support for it
(x86_64, aarch64, and ppc64le linux and macOS) and an optional
requirement on other qiskit supported platforms, and when available it
greatly improves the runtime performance of symbolic expressions in
Qiskit. By default QPY opts for the more compatible sympy representation
of an unbound ParameterExpression as it's maximally compatible, and
means that no matter the environment the payload will be loaded from it
will be able to parse the payload. In QPY version 10 a new flag was
added to the payload definition that enables users to use a native
binary symengine representation of a symbolic expression that is
significantly faster to generate and parse, but it still defaults to
sympy as using this flag limits the compatibility of the payload.
However, for runtime job submission we know that the service always has
symengine available so we should be using this flag for job submission
if the local environment has symengine installed as it will greatly
speed up the serialization of unbound ParameterExpression objects.

In Qiskit 1.0, symengine is promoted to a hard requriment for all
environments and use_symengine=True is the default in Qiskit's qpy
module. But, setting it like this is still a good idea as it will always
be safe to do this, it's just in qiskit 1.0 symengine will always be
installed.

3197 of 5394 relevant lines covered (59.27%)

7.0 hits per line

Jobs
ID Job ID Ran Files Coverage
1 unit-tests_python3.8-ubuntu-latest - 7729012573.1 31 Jan 2024 04:20PM UTC 169
59.19
GitHub Action Run
2 unit-tests_python3.10-ubuntu-latest - 7729012573.2 31 Jan 2024 04:20PM UTC 169
59.25
GitHub Action Run
3 unit-tests_python3.10-windows-latest - 7729012573.3 31 Jan 2024 04:23PM UTC 169
56.6
GitHub Action Run
4 unit-tests_python3.9-ubuntu-latest - 7729012573.4 31 Jan 2024 04:20PM UTC 169
59.21
GitHub Action Run
5 unit-tests_python3.11-ubuntu-latest - 7729012573.5 31 Jan 2024 04:20PM UTC 169
59.25
GitHub Action Run
6 unit-tests_python3.9-macOS-latest - 7729012573.6 31 Jan 2024 04:21PM UTC 169
59.21
GitHub Action Run
7 unit-tests_python3.10-macOS-latest - 7729012573.7 31 Jan 2024 04:21PM UTC 169
59.25
GitHub Action Run
8 unit-tests_python3.11-macOS-latest - 7729012573.8 31 Jan 2024 04:22PM UTC 169
59.25
GitHub Action Run
9 unit-tests_python3.8-macOS-latest - 7729012573.9 31 Jan 2024 04:21PM UTC 169
59.19
GitHub Action Run
10 unit-tests_python3.9-windows-latest - 7729012573.10 31 Jan 2024 04:23PM UTC 169
56.55
GitHub Action Run
11 unit-tests_python3.11-windows-latest - 7729012573.11 31 Jan 2024 04:23PM UTC 169
56.6
GitHub Action Run
12 unit-tests_python3.8-windows-latest - 7729012573.12 31 Jan 2024 04:23PM UTC 169
56.54
GitHub Action Run
Source Files on build 7729012573
  • Tree
  • List 169
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 4074347b on github
  • Prev Build on main (#7701742761)
  • Next Build on main (#7729164819)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc