-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
WrightSim/WrightSim/hamiltonian/default.py
Lines 87 to 88 in c7be3ef
| #TODO: generalize nTimeOrderings | |
| cuda.memcpy_htod(int(pointer) + 8, np.array([6], dtype=np.int32)) |
Currently assumes 6, which is 3!, the number of orderings in a 3 beam experiment, but other experiments may have different values.
It's possible this should always be the factorial, but we may need to discuss this
This assumption is only made for transferring a Hamiltonian to a CUDA device
Reactions are currently unavailable