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
"""
KickOperator(U(t), H_F)
@doc """
KickOperator(U(t), H_F::Matrix)
Return the Kick operator Given the time evolution operator `U(t)` and the Floquet Hamiltonian
`H_F`.
"""
Return the Kick operator Given the time evolution operator `U(t)` and the Floquet Hamiltonian
`H_F`.
"""
function KickOperator(U, H_F::Matrix)
if size(U(0)) != size(H_F)
throw(DimensionMismatch("`U` and `H_F` should have the same dimension."))