Type Alias roqoqo::backends::RegisterResult

source ·
pub type RegisterResult = Result<Registers, RoqoqoBackendError>;
Expand description

Result of functions running a full circuit and producing output registers.

Aliased Type§

enum RegisterResult {
    Ok((HashMap<String, Vec<Vec<bool>>>, HashMap<String, Vec<Vec<f64>>>, HashMap<String, Vec<Vec<Complex<f64>>>>)),
    Err(RoqoqoBackendError),
}

Variants§

§1.0.0

Ok((HashMap<String, Vec<Vec<bool>>>, HashMap<String, Vec<Vec<f64>>>, HashMap<String, Vec<Vec<Complex<f64>>>>))

Contains the success value

§1.0.0

Err(RoqoqoBackendError)

Contains the error value