The way your code is written, the three hyperfines are independent.
To tie two of the variables to the same value, you will need to pass through a custom function.
Take a look at this old post: https://easyspin.org/forum/viewtopic.php?p=863#p863
The way your code is written, the three hyperfines are independent.
To tie two of the variables to the same value, you will need to pass through a custom function.
Take a look at this old post: https://easyspin.org/forum/viewtopic.php?p=863#p863
If there is only a single electron spin, the second column is not needed, just a third line. You only make two of the three lines equal. E.g.
Sys.A = [A1; A2; A2]
The same as before applies to the format of A1/A2.
In both machines, mex -setup
identified gcc
as compiler, though I don't know why I had to manually install the extra library on the second machine.
But in both cases the errors disappeared once the compilation was successfully done.
And the solution this time was:
Code: Select all
sudo apt install g++-multilib