Just Somethings that aren't yet clear for me #79
-
Hello everybody, I started my masters last semester and I with that I have looked across a lot of frameworks to see what would be best to do some Quantum Machine Learning("I know, I'm not beeing specific here") and at the end, at least for simulations, I choose to use qiskit-dynamics to simulate some NV centers dynamics at my lab here in Brazil. I have a good background on physics, but my computational ("I'm not sure if this is the right word") skills are still in development, I'm making some alterations to the Rabi oscillations code and some others, during this process I stumbled across this line "y0 = DensityMatrix.from_label('0')", but in the DensityMatrix docs I didn't find what '0' represents and I was unsure how to use some pre-treated image files from my lab to determine the DensityMatrix of the NV centers. Thank you guys, I'm a little prolix and that's why such a short question has this much text, I think I really need to clarify everything before sending anything, because I don't really know how to filter what is important in any sort of dialog. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi Artur, Thanks for the interest in the package and for starting the first discussion thread :). The |
Beta Was this translation helpful? Give feedback.
Hi Artur,
Thanks for the interest in the package and for starting the first discussion thread :).
The
DensityMatrix
object is part of Qiskit Terra'squantum_info
submodule, so its documentation can be found in the docs for that package. Specifically, thefrom_label
class method is documented here - it is a convenience method for generating density matrices that are given by tensor products of Pauli eigenstates.