a-auer / qiskit Goto Github PK
View Code? Open in Web Editor NEWA Jupyter notebook that demonstrates the use of Qiskit and the IBM Q Experience using the BBPSSW protocol for entanglement purification as an example.
A Jupyter notebook that demonstrates the use of Qiskit and the IBM Q Experience using the BBPSSW protocol for entanglement purification as an example.
I recently came across your project qiskit and I noticed that the repository github.com/a-auer/qiskit currently does not have a license specified.
Why Adding a License is Important?
Public repositories on GitHub are often used to share open source software. For your repository to truly be open source, you'll need to license it so that others are free to use, change, and distribute the software.
Would be possible to add a valid license to this repository? Probably something really OpenSource such as the Apache 2.0 license would fit really well.
Thanks!
When I try to run the last part of the code, it won't let me run it on an IBMQ device. It gives the following error message:
IBMQJobFailureError Traceback (most recent call last)
in
16 random_idx = np.random.randint(12)
17 job_dict = execute_purification(fidelity, random_idx, ibmq_device, shots=512)
---> 18 rho_fit = rho_from_dict(job_dict, cond_tomo=False)
19 fitted_states.append(rho_fit)
20
in rho_from_dict(job_dict, cond_tomo)
194 else:
195 # Regular quantum state tomography
--> 196 rho_fit = StateTomographyFitter(job_dict["job"].result(), job_dict["circuits"]).fit()
197
198 return rho_fit
~\Anaconda3\envs\dev_qiskit\lib\site-packages\qiskit\providers\ibmq\job\ibmqjob.py in result(self, timeout, wait, partial, refresh)
247
248 if self._status is JobStatus.ERROR and not partial:
--> 249 raise IBMQJobFailureError('Unable to retrieve job result. Job has failed. '
250 'Use job.error_message() to get more details.')
251
IBMQJobFailureError: 'Unable to retrieve job result. Job has failed. Use job.error_message() to get more details.'
With this being the error given by IMBQ: Qubit measurement is followed by instructions [7006]
Is there a way this can be solved? Or is it not possible to do this on a device as the measurement must happen before the last Hadamard gates?
Should be figure "1a", two qubit pairs with
In Section 2.3.6, the plus is used to concatenate circuits, altough this is no longer supported.
Implement basis_gates and describe what they are
Most of it is polished, only new passages need to be checked.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.