Comments (5)
I think there's an issue with line 227 for bit in outputnum_clbitsap:
- I tried to print outputnum_clbitsap
out but it shows {}
.
Also I noticed that if I just replace out_list
with raw_out
in line 229 it shows correct readout (not sure about the order of the qubit tho).
from microqiskit.
I kind of solve this by adding one line after line 226 in this microqiskit.py file
(ln226) out_list = ['0']*qc.num_clbits
(lnADD) outputnum_clbitsap = range(qc.num_clbits)
(ln227) for bit in outputnum_clbitsap:
Not sure if this will cause any troubles in other parts of the code tho...
from microqiskit.
On a different note, I think the situation that outputnum_clbitsap
is not updated should cause some trouble at some point in the code, but I am not sure what's the best way to fix it since I'm not sure what's the original data format we were expecting it to be.
from microqiskit.
Thanks for the interest. However, I think the code snippet you provide actually works as expected, since a counts output requires measurement gates.
from microqiskit.
Ah thanks for pointing it out and sorry for raising dumb concerns!! this may be closed or I can delete it as well.
from microqiskit.
Related Issues (16)
- Align ports with changes HOT 3
- Add documentation for new ports
- document crx
- Ruby Implementation HOT 1
- Swift implementation HOT 1
- Noise-resistant checkerboard
- Python MicroQiskit: start here ipynb?
- Working on a game imported Qiskit, added the dll files in the plugins file, i receive this error constantly tried going through the code. HOT 2
- Assert: making sure index is inside range
- Add tests for y and z HOT 1
- Rust implementation
- Kotlin implementation HOT 2
- Duplicate test_multiqubit()
- draw() function
- dead links
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 microqiskit.