Main Content
fetchOutput
Installation Required: This functionality requires MATLAB Support Package for Quantum Computing.
Syntax
Description
returns the measurement result of a finished quantum task as a
m
= fetchOutput(task
)QuantumMeasurement
object.
A measurement result is obtained only if the status of the task is
"finished"
and the task is not canceled. You can use
wait(task)
to make sure a task is finished before retrieving the
measurement result using fetchOutput
.
Examples
Input Arguments
Version History
Introduced in R2023a