An open API service indexing awesome lists of open source software.

https://github.com/ryan-bendelson/2024-summer-research

This is Python code that I worked with during my summer 2024 research project involving quantum physics.
https://github.com/ryan-bendelson/2024-summer-research

density-matrices kronecker-product linear-algebra miniconda3 numpy numpy-arrays partial-trace python quantum-information

Last synced: 3 months ago
JSON representation

This is Python code that I worked with during my summer 2024 research project involving quantum physics.

Awesome Lists containing this project

README

        

This is the code I worked on for my 2024 Summer Research project. The main feature I worked on is a function that takes in a Kronecker product density matrix and a specified qubit to return the partial trace of the density matrix over the specified qubit.
This function is based on a visual method I came up with that helped me to identify how to take the partial trace of a density matrix representing a composite quantum system. It works based on splitting the full sized matrix into smaller submatrices that can be evaluated individually. The results of evaluating each submatrix are placed into appropriate spots in a larger result matrix for the full partial trace.