utils.jl

Public functions

QuantumACES.get_mapping_stringMethod
get_mapping_string(m::Mapping, c::AbstractCircuit; two_qubit_only::Bool = false)

Returns the string representation of the mapping m for the circuit c, including eigenvalues.

source
QuantumACES.pretty_printMethod
pretty_print(aces_data::ACESData, merit_set::Tuple{Merit, Merit, Merit})

Prints the z-scores of the normalised RMS errors of the gate eigenvalue estimator vector for the GLS, WLS, and OLS estimators in aces_data using the predicted means and variances for each in merit_set.

source

Private functions

QuantumACES.project_simplexMethod
project_simplex(probabilities::Vector{Float64})

Returns a copy of the probability distribution probabilities projected into the probability simplex according to the Euclidean norm.

source
QuantumACES.wht_matrixMethod
wht_matrix(n::Int)

Returns the symplectically ordered Walsh-Hadamard transform matrix of order n, which maps an n-qubit Pauli error probability distribution to its eigenvalues. The inverse transform is obtained by dividing the transform by the factor $4^n$.

source