Skip to content

Commit

Permalink
Move adjoint def to QuantumInterface
Browse files Browse the repository at this point in the history
  • Loading branch information
amilsted committed Jun 20, 2023
1 parent 0599959 commit 763c051
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Adapt = "1, 2, 3.3"
FFTW = "1.2"
FillArrays = "0.13, 1"
LRUCache = "1"
QuantumInterface = "0.2.1"
QuantumInterface = "0.2.2"
Strided = "1, 2"
UnsafeArrays = "1"
julia = "1.3"
Expand Down
1 change: 0 additions & 1 deletion src/states.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ Hermitian conjugate.
"""
dagger(x::Bra) = Ket(x.basis, conj(x.data))
dagger(x::Ket) = Bra(x.basis, conj(x.data))
Base.adjoint(a::StateVector) = dagger(a)

"""
tensor(x::Ket, y::Ket, z::Ket...)
Expand Down

0 comments on commit 763c051

Please sign in to comment.