brownadder / magpy

Magnus based time-integration for spins and qubits under a magnetic field
MIT License
1 stars 2 forks source link

Hop last parameter should be decomposed into standard form #16

Open brownadder opened 2 years ago

brownadder commented 2 years ago

If A = 2 sigma_x + 3 sigma_y + 5 sigma_z is passed as parameters to Hop(N,k,A)

then replace by 2: Hop(N,k,sigma_x), 3: Hop(N,k,sigma_y), 5 : Hop(N,k,sigma_z)

As such it may be passed as f(t) : Hop(N,k,A)

Convert to f(t): (2, Hop(N,k,sigma_x)), (3, Hop(N,k,sigma_y)), (5, Hop(N,k,sigma_z)),