Recent content by Bob Walance
-
Insights Quantum Computing for Beginners
The PDF is now rev 6. An appendix has been added that gives some details on a classical computer's simulation of a quantum computer.- Bob Walance
- Post #20
- Forum: Quantum Physics
-
B A homebrew quantum computer simulator
The IBM simulator is much easier to use. Give it a try and then learn how to entangle two qubits. That'll be a good start. https://quantum.ibm.com/composer/files/new- Bob Walance
- Post #7
- Forum: Quantum Physics
-
B A homebrew quantum computer simulator
After you get the new files, the one to run is 'qc_simulator.py'.- Bob Walance
- Post #5
- Forum: Quantum Physics
-
B A homebrew quantum computer simulator
I've fixed that problem. Please download the six new .py files, and let me know if you're able to run it. Thanks.- Bob Walance
- Post #4
- Forum: Quantum Physics
-
I Calculating qubit purity/entanglement in a quantum computer
I had written a simulator for a quantum computer and wanted to be able to calculate the values of the "purity of reduced states". "Purity of reduced states" is a quantity that IBM provides on their simulator for each qubit. They used to call it "entanglement", and I believe that the two terms...- Bob Walance
- Thread
- Entanglement Qubit
- Replies: 0
- Forum: Quantum Physics
-
Collection of Lame Jokes
An Irishman in a Dublin pub has the habit of ordering three separate pints of Guinness. He would set them down on the table and carefully take a sip from each glass one-by-one. This goes on for many weeks when someone in the pub gets curious and decides to ask the man why he does this. He...- Bob Walance
- Post #18,854
- Forum: General Discussion
-
Collection of Lame Jokes
I was reading an obituary page today in the newspaper and noticed that everyone listed in this obituary had died in alphabetical order.- Bob Walance
- Post #18,301
- Forum: General Discussion
-
C/C++ C++ How to invoke an object's method in a different file
Wow. That works! Yes, a single instance of the class (really it's no instance) is just fine for my application. Thank you for the simple solution.- Bob Walance
- Post #5
- Forum: Programming and Computer Science
-
C/C++ C++ How to invoke an object's method in a different file
I don't want to create and destroy the instance for each periodic timer interrupt. While this would probably work, it seems messy. A pointer to the instance could be created in timer_functions.cpp, but how would it get passed to the timer interrupt?- Bob Walance
- Post #3
- Forum: Programming and Computer Science
-
C/C++ C++ How to invoke an object's method in a different file
I have created an object for the class Timers in timer_functions.cpp, and I need to run a method associated with that object ( test_method() ) from interrupts.cpp. I've tried many things but have been unsuccessful. Any ideas would be appreciated. Here is some sample code: classes.hpp...- Bob Walance
- Thread
- C++ programming
- Replies: 4
- Forum: Programming and Computer Science
-
Insights Quantum Computing for Beginners
I have updated the PDF (now rev 4) with a few clarifications and corrections. Also, a table of contents has been added.- Bob Walance
- Post #19
- Forum: Quantum Physics
-
B Quantum entanglement and hidden variables
In the 'Many Worlds' interpretation of quantum physics, both entangled particles will exist in separate worlds when a measurement is performed. For example, in the case of a simple Bell pair where the wave function has 50% probability of finding the two particles with spin up and 50% probability...- Bob Walance
- Post #7
- Forum: Quantum Physics
-
Today I Learned
Today I learned that it was Pythagoras' mother who was the first person ever to use the expression, "Do the math!"- Bob Walance
- Post #4,610
- Forum: General Discussion
-
Music Music to Lift Your Soul: 4 Genres & Honorable Mention
I find that The Shaggs' music is especially refreshing.- Bob Walance
- Post #135
- Forum: Art, Music, History, and Linguistics
-
Music Equal temperament vs instrument harmonics in music
Thanks, Algr. The word 'nonanive' might be appropriate for a diatonic scale that has eight different notes. We would just have to change the layout of the piano - and that is absolutely okay by me. :wink:- Bob Walance
- Post #25
- Forum: Art, Music, History, and Linguistics