Comments (3)
This looks severely like a bug in the QPY serialisation/deserialisation - on close inspection, the UUIDs for the read parameters are offset by two bytes compared to the inputs. I'm not entirely sure how that's managed to happen without completely failing all tests, but there we are. I'll look into getting it fixed in Terra ASAP, and then look to release a 0.19.2.
from qiskit-ibm-runtime.
@mtreinish, @jakelishman - do you happen to know how to properly fix this? Do we need to update the encoder/decoder code?
from qiskit-ibm-runtime.
Ah no, sorry - I'm wrong. In this case it's that you're using an old version of the parameter expression unpacking. There was a new QPY serialisation format, and since you're using internal functions of qpy_serialization
, there wasn't any stability there. The new v3 format has an extra byte in the ParameterExpression
header in the QPY format, and an extra byte in the map elements. So when your parameter expressions only had one parameter in them, that's where the extra two bytes came from.
This is possible to fix, but I think you'll have to detect the version of Terra, because you need to know whether to set your reader to _read_parameter_expression
or _read_parameter_expression_v3
. I'll make a PR for you.
from qiskit-ibm-runtime.
Related Issues (20)
- Provide a usage function on RuntimeJob so metrics don't have to be parsed HOT 1
- Add `EstimatorPubResult` with plotting methods
- Consider deprecating skip_transpilation and changing its default value HOT 1
- Batch.status says "pending" even if all jobs have been processed HOT 1
- Issues on Batch page HOT 2
- Remaining time of an instance
- Unit tests failing against Qiskit 1.2 again
- Add interface to execution span HOT 2
- Cannot use session in local mode HOT 1
- ISA checks inside control flow operations sometimes fail for valid circuits HOT 2
- RecursionError: maximum recursion depth exceeded HOT 2
- Allow specifying `interactive_ttl` when creating new Session
- Massive slowdown between versions when calling `backend.target.qubit_properties` HOT 2
- Missing Library stubs or py.typed marker
- Remove V1 support
- Allow default runtime options in a QiskitRuntimeService HOT 1
- RuntimeJobV2 status method returning string not JobStatus HOT 1
- Add Retry Mechanism for sampler.run HOT 1
- Integration tests failing against Qiskit 1.2
- Use bearer token for cloud channel auth
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 qiskit-ibm-runtime.