Thanks, Mads! I appreciate your quick response, Bob.
Since some users request a palette for quantum framework, we have added one. Note we will populate it more with more buttons etc for more functionalities we have in quantum framework
So now, if you install the paclet, then under “Palettes” you can find “QuantumFrameworkPalette”
Special thanks to @Nikolay Murzin
Also, here you can find another interesting implementation: https://community.wolfram.com/groups/-/m/t/2456268
I am attempting to create the U3 gate in WQT but running into problems
(see attached notebook)
quantumoperator.nb (138 KB)
How do you treat quantum decoherence process in the framework of the quantumOperatorTime Evolution ?
Do you have examples with the Lindblad superoperator for Markov decoherence process ?
Thank you for your very interesting webinar on quantum computing.
Is paclet temporarily un available?
@Peter Aptaker it works fine on my end. Share a screenshot of error you get when installing the paclet
Today’s lecture in attachment
4QuantumCircuit.nb (321 KB)
With Force …>True it locks up
With Force..-< False see image
The same on two PCs
If you have time, I am interested in Quantum Teleportation example
What Mathematica version u r using? (evaluate $Version)
We’ve also added template for quantum functions, similar to other Wolfram Language functions. We will work on it more, to include more details.
If you hover your mouse over a function, you can see this icon:
and after clicking on it, you can see possible templates:
Both (Windows) PCs are ok now with 13. I will attach into on 12.3 which still have the issue. But it is not a problem for me.
0PacletInstallation12_False.nb (930 KB)
Does “1.03” have “yesterday” changes that may cause isses? e.g. after “steps=” where the 6th state is now invalid
ops = {QuantumOperator["H"], QuantumOperator["CX"],
QuantumOperator["H"], QuantumOperator["H", {2}],
QuantumMeasurementOperator[], QuantumMeasurementOperator[{2}]};
qc = QuantumCircuitOperator[ops];
qc["Diagram"]
steps = ComposeList[ops, QuantumState[{"Register", 2}]]
Bahrami3_bad.nb (2.11 MB)
Bahrami3_good.nb (19.8 KB)
psa>I would be very happy with just one example measurement worked though with vectors and matrices (the circuit gates seem trivial by conparison)
Despite my other posts, this is still my priority
In the teleportation example, can you explain more of
QuantumTensorProduct[QuantumState[{\[Alpha], \[Beta]}], QuantumState["PhiPlus"]]
Here I understand the tensor but little else!
For Friday review
The WP article Shor's algorithm - Wikipedia says:
In 2019 an attempt was made to factor the number 35 using Shor’s algorithm on an IBM Q System One, but the algorithm failed because of accumulating errors.[12] "In 2019 an attempt was made to factor the number 35 using Shor’s algorithm on an IBM Q System One, but the algorithm failed because of accumulating errors.[12] "
Question: what are the sources of errors specific for QC? “Just” fluctuations? What are the approaches to fighting them ? (in addition to reaching - 273K :), shielding from EM fields and vibrations, etc).
Thanks.
After last update (the version is 12.3) i got the message : “PacletInstall::compat: The paclet Wolfram/QuantumFramework was successfully installed, but it will not be available in this session because it is not compatible with the currently running version of the Wolfram system”.
Could you fix it please ?
Thanks.
Currently the gates on Quantum Computers are not stable and produce errors .
If you run a small circuit on the IBM experience at https://quantum-computing.ibm.com/
eg the 00 Bell state on real hardware ( in this case 5 qubit ibm-bogata quantum computer)
then you should get the 50/50 probabilities as shown by the IBM experience.
In reality if you run the circuit say 100 runs you will not get that 50/50 Probabilities and to achieve that 50/50 probability you may need to run the circuit say maybe 8024 times to approach the 50/50 average .
To make the gates more stable you will need to implement quantum error correction which means you need to add a number of physical qubits just to implement the quantum error correction eg According to the quantum Hamming bound, encoding a single logical qubit and providing for arbitrary error correction in a single qubit requires a minimum of 5 physical qubits.
So even if you want to build a quantum computer to factor the number 15 a large number of physical qubits will be needed for QER to implement the logical qubits.
see https://en.wikipedia.org/wiki/Physical_and_logical_qubits
running the 2 qubit entangled circuit 100 times on a real quantum device you can see the errors |01> and |10> turning up
if this is the errors for a 2 qubit , 2 gate set up can you imagine the errors accumulating if you go to a 10 qubit circuit with say 20 gates. Error correction qubits will be needed to remove these errors
for more efficient quantum bit error-correction.
My apologies - the issue was probably my own “mis-use” of the language which then was effected by changes on Tues or Wed.
My “debugging” code attempted to display “Formula” for all results i.e both QuantumState and QuantumMeasurement. The result for QuantumMeasurement is now “less concise” and I can happily avoid it:
QuantumMeasuremen[…][“ProbabilityTable”]//Normal is what I wanted anyway.
But, as I you found in the last lecture, bugs can be introduced in the development packlet. Is there a simply way to load a previous version?







