This commit is contained in:
Valentin Boettcher 2023-03-10 12:30:00 -05:00
parent f0e20e9758
commit 3aa4825440
No known key found for this signature in database
GPG key ID: E034E12B7AF56ACE

View file

@ -93,12 +93,12 @@ struct KickOperator
H_F::Matrix H_F::Matrix
""" @doc """
KickOperator(U(t), H_F) KickOperator(U(t), H_F::Matrix)
Return the Kick operator Given the time evolution operator `U(t)` and the Floquet Hamiltonian Return the Kick operator Given the time evolution operator `U(t)` and the Floquet Hamiltonian
`H_F`. `H_F`.
""" """
function KickOperator(U, H_F::Matrix) function KickOperator(U, H_F::Matrix)
if size(U(0)) != size(H_F) if size(U(0)) != size(H_F)
throw(DimensionMismatch("`U` and `H_F` should have the same dimension.")) throw(DimensionMismatch("`U` and `H_F` should have the same dimension."))