Recent content by Bob Walance

  1. 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.
  2. Bob Walance

    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
  3. Bob Walance

    B A homebrew quantum computer simulator

    After you get the new files, the one to run is 'qc_simulator.py'.
  4. Bob Walance

    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.
  5. Bob Walance

    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...
  6. Bob Walance

    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...
  7. Bob Walance

    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.
  8. Bob Walance

    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.
  9. Bob Walance

    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?
  10. Bob Walance

    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...
  11. Bob Walance

    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.
  12. Bob Walance

    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...
  13. Bob Walance

    Today I Learned

    Today I learned that it was Pythagoras' mother who was the first person ever to use the expression, "Do the math!"
  14. Bob Walance

    Music Music to Lift Your Soul: 4 Genres & Honorable Mention

    I find that The Shaggs' music is especially refreshing.
  15. Bob Walance

    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:
Back
Top