Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
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}
  • Loading branch information
matthewware authored Oct 31, 2018
1 parent 829baac commit e70a902
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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);
```
Expand Down

0 comments on commit e70a902

Please sign in to comment.