diff --git a/src/pauli.jl b/src/pauli.jl index 57fb1ade..31ef7677 100644 --- a/src/pauli.jl +++ b/src/pauli.jl @@ -15,7 +15,7 @@ using LinearAlgebra: tr """ PauliBasis(num_qubits::Int) -Basis for an N-qubit space where `num_qubits` specifices the number of qubits. +Basis for an N-qubit space where `num_qubits` specifies the number of qubits. The dimension of the basis is 2²ᴺ. """ mutable struct PauliBasis{B<:Tuple{Vararg{Basis}}} <: Basis @@ -34,7 +34,7 @@ abstract type PauliTransferMatrix{B1<:Tuple{PauliBasis, PauliBasis}, B2<:Tuple{P """ - DensePauliTransferMatrix(b, b, data) + DensePauliTransferMatrix(B1, B2, data) DensePauliTransferMatrix stored as a dense matrix. """ @@ -209,7 +209,7 @@ function SuperOperator(chi_matrix::DenseChiMatrix{B, B, Array{Complex{Float64}, end """ - ChiMatrix(ptm::PauliTransferMatrix) + ChiMatrix(ptm::DensePauliTransferMatrix) Convert a Pauli transfer matrix to its representation as a χ matrix. """