Function roqoqo_aqt::call_circuit[][src]

pub fn call_circuit(
    circuit: &Circuit
) -> Result<Vec<AqtInstruction>, RoqoqoBackendError>
Expand description

Converts all operations in a roqoqo::Circuit into instructions for AQT Hardware or AQT Simulators

Arguments

circuit - The roqoqo::Circuit that is converted

Returns

Vec<AqtInstruction> - List of converted instructions RoqoqoBackendError::OperationNotInBackend - Error when roqoqo::operations::Operation can not be converted