From 763c0518fdece7d5efc9469bb7981b4296b86845 Mon Sep 17 00:00:00 2001 From: Ashley Milsted Date: Tue, 20 Jun 2023 14:42:11 -0700 Subject: [PATCH] Move adjoint def to QuantumInterface --- Project.toml | 2 +- src/states.jl | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Project.toml b/Project.toml index ac7eccf8..a17b6129 100644 --- a/Project.toml +++ b/Project.toml @@ -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" diff --git a/src/states.jl b/src/states.jl index 2bd198d1..6c6bdb5b 100644 --- a/src/states.jl +++ b/src/states.jl @@ -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...)