Supported features¶
What’s supported¶
Every Qiskit gate. Maestro’s 28 native gates run directly, and others (
rzz,ecr,unitary,PauliEvolutionGate, library circuits and so on) are expanded through their Qiskit definitions.Mid-circuit measurement and
reset.if_testwith an optionalelse, on one clbit or a register value, with gates and measurements in the branches. In Qiskit 1.x,c_ifas well.for_loop, unrolled when the circuit is converted. Its index set is fixed when the circuit is built, so every loop Qiskit can express unrolls, unless its body usesbreakorcontinue.switch, on a clbit, a register or a cast of one, rewritten as oneifblock per case value. A default case becomes a block for each value no case names, up to 64 of them.Aer noise models: see Noise models.
Aer’s
save_statevector,save_statevector_dict,save_probabilities,save_probabilities_dict,save_expectation_valueandsave_expectation_value_variance, anywhere before the first measurement, onMaestroBackend. With noise or a reset before it, a saved statevector is one random trajectory’s, as on Aer; saved probabilities and expectation values are averaged over the shots, or exact on the density matrix.method="automatic", as described under Automatic method selection.Parameterised circuits, with Qiskit’s broadcasting rules.
SparseObservableprojector terms (0,1,+,-,r,l) in the Estimator (Qiskit 2.x).
What isn’t supported yet¶
Some noise. Errors on three or more qubits, correlated readout errors on several qubits, and Aer’s nonlocal errors raise
UnsupportedNoiseError. So do coherent (unitary) errors and general Kraus channels on the GPU and on methods other thandensity_matrix,statevector,matrix_product_stateand (on the CPU)pauli_propagation. So does noise on a circuit with classical control, other than readout errors, and noise inrun_evolution. Relaxation can’t run on the stabilizer method.Some classical control.
while_loop,break,continue, and classical expressions beyond “bit is set” and “register equals value” aren’t supported. Casts are read as Qiskit does: a cast to a narrowerUintkeeps the low bits. A cast of a multi-bit register toBool(a non-zero test) isn’t supported. Neither are nestedif_testblocks (including aswitchinside one), aresetinsideif_test, anelsebranch on a multi-bit condition, or aswitchcase that measures into the switch’s own target. Each raisesUnsupportedInstructionErrornaming the instruction.Measurements in Estimator circuits. As in
StatevectorEstimator, they raise an error. Resets are allowed: pure-state methods average 1,024 trajectories, as Aer’sEstimatorV2averages over shots, and density matrix is exact.Other save instructions, such as
save_density_matrix,save_amplitudesandsave_state, and saves that are per shot, conditional, unnormalized, after a measurement or inside control flow. The Sampler and Estimator don’t take save instructions.Native
unitarygates. Maestro’s core has generic one-, two- and three-qubit gates, but its circuit API doesn’t expose them yet, so aUnitaryGateis expanded through its Qiskit definition.Aer methods without a Maestro equivalent:
unitary,superop.dttiming. Delays are dropped, since they don’t change a noiseless simulation. With a noise model whose delays relax, they apply that relaxation.Shot order. Maestro returns counts. Per-shot
memoryandBitArrayshots are those counts in random order. That’s exact in distribution, since shots are independent, but it isn’t the order Maestro simulated them in.On the Qoro cloud: see Not on the cloud yet.