CirQuS-UTS / QuanGuru

QuanGuru (pronounced Kangaroo) is a Python library for numerical modelling of quantum systems. It is still under-development, and it consists of tools for numerical simulations of Quantum systems.
BSD 3-Clause "New" or "Revised" License
5 stars 7 forks source link

How does the QuantumSystem access and store the parameters of operator? #240

Open TreeratKJ opened 1 year ago

TreeratKJ commented 1 year ago

When creating a quantum system and/or create terms, it requires to input at least dimension, operator, and frequency. This input operator requires only the function of operator, and cannot define any parameter inside the operator function. For example, qg.QuantumSystem(dimension=dim, operator=qg.Jz, frequency=1.0).

So, the question is how the quantum system access and store the parameters of the operator function, i.e. jValue of the Jz operator which is not defined in QuantumSystem but the QuantumSystem can somehow know this value.