From e70a90297b91d0a4745bb19e2a0ed79d31bf50c9 Mon Sep 17 00:00:00 2001 From: Matthew Ware Date: Wed, 31 Oct 2018 15:51:48 -0400 Subject: [PATCH] Update README.md build_state_predictor doesn't accept ::Array{Array{Complex{Float64}, 2},1}. It needs a parametric type now Array{Array{T,2} where T,1} --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c06d573..d444759 100644 --- a/README.md +++ b/README.md @@ -40,9 +40,9 @@ qubit, that can be given by the eigenstates of the 3 Pauli operators. ```julia julia> using Cliffords, QuantumTomography -julia> obs = [ (complex(Pauli(i))+eye(2))/2 for i in 1:3 ]; +julia> obs = Matrix[ (complex(Pauli(i))+eye(2))/2 for i in 1:3 ]; -julia> append!(obs, [ (-complex(Pauli(i))+eye(2))/2 for i in 1:3 ]); +julia> append!(obs, Matrix[ (-complex(Pauli(i))+eye(2))/2 for i in 1:3 ]); julia> tomo = LSStateTomo(obs); ```