Monday, September 23, 2024

New Macbook 2024

I had to get a new macbook even though I was not at the end of my office computer cycle because the new networking upgrade was not working well with older mac systems.  

So, now I have a new 14 inch macbook pro.  



Checking apps to see what I need to install before I lose admin privledges.  

  • Dropbox
  • Eclipse  I don't really use this anymore either?
  • Gnuplot?  Not sure if I want this anymore - I use JupyterLab instead these days.
  • Imagemagick?
  • Anaconda for sure and get JupyterLab Set up
  • Texshop - I dont think i need anymore?  But maybe
  • Turning point and active presenter i think i no longer need
  • Mathematica they installed
  • Latexit for sure
  • Firefox and chrome already installed
  • Zotero?
  • Pasco Capstone
Set up tasks:
  • Set up right click and trackpad preferences
  • Set up mission control
  • Finder - view - show path bar
  • Installed Latexit, but it needs pdflatex
  • Installed Anaconda
  • Updated Anaconda
  • Downloading homebrew so that I can install pdflatex - brew is installed
  • basictex is successfully installed
  • I added /Library/TeX/texbin to my path because https://tex.stackexchange.com/questions/642248/i-have-installed-mactex-because-i-need-pdflatex-but-it-looks-like-not-open told me to. (I followed  https://www.youtube.com/watch?v=iYq1PvDTUIA)
  • but latexit still does not work - i still need ghostscript
  • Installing ghostscript using brew: 
    • brew update
    • brew upgrade
    • brew install ghostscript
    • brew cleanup
  • Trying to find where brew installed gs.  Seems to be in /opt/homebrew/bin
  • But I cannot seem to tell latexit where that is.  It gives a gui directory finder and it cannot find opt
  • went ahead and installed mactex.  Show be in /usr/local/texlive
  • Quit and restarted and latexit found it no problem.  seems to work now.  Enough for tonight.

  • Installing Eclipse 
    • downloading the AArch64 option, because it is the ARM architecture and I opened terminal and typed uname -m and it gave a result of arm64.
    • Looks OK!  Not sure if I'll ever use it.
  • Texshop seems to be already downloaded with mactex.
  • Capstone is installed
  • installed imagemagick - not sure if I will ever use it.
  • Rspec is installed (for spectrometer)
  • Installed a bunch of programs on brew that MAY be useful later.


Friday, May 31, 2024

Record of getting stated with Qiskit

 I already have an account, and was able to log in.  

  • Go to IBM Quantum Documentation, which tells me I need to install Qiskit.
    • Install video:  https://docs.quantum.ibm.com/start/install
    • In this video, he installs miniconda, but I already have anaconda installed on Physics Laptop 8706.
    • I need to update anaconda - got a temp password for installs from ITS, and updated.
    • Relaunched anaconda
    • Follow:  https://subscription.packtpub.com/book/programming/9781838828448/1/ch01lvl1sec04/installing-qiskit
      • Follow: https://www.geeksforgeeks.org/set-up-virtual-environment-for-python-using-anaconda/
        • Get an anaconda prompt from start menu ("Anaconda prompt")
        • Check the version of conda in the path:  conda -V gives conda 24.5.0
        • conda update conda ---- gives all requested packages already installed
        • conda search “^python$” --- to find installed python versions.  Gives highest version as 3.12.3
      • conda create --name cwq
      • confirm y
      • conda activate cwq
      • pip install qiskit
      • pip install matplotlib
      • pip install qiskit-ibm-runtime
      • pip install qiskit[visualization]
      • pip install jupyter
        • Open notebook as follows:  jupyter notebook path/to/notebook.ipynb 
        • I made a directory in Quantum 200 folder called cwq
      • pip install pylatexenc
  • OK, but maybe I just want to use composer and I do not need qiskit installed?
  • To get to composer
    • Click on "Application Switcher" -> multiple dots upper right (not left) corner.
    • Go to Learning
    • Tools 
    • Quantum Composer
    • OK - I'm up and running, and I think this will be enough.  No need for all the installs, that makes things easier.