예제 #1
0
 /// <summary>
 /// Creates a quantum machine based on the Azure Quantum submission settings.
 /// </summary>
 /// <param name="settings">The Azure Quantum submission settings.</param>
 /// <exception cref="ArgumentNullException">Thrown if <paramref name="settings"/>.Target is null.</exception>
 /// <returns>A quantum machine.</returns>
 private static IQuantumMachine?CreateMachine(AzureSettings settings) => settings.Target switch
 {
     null => throw new ArgumentNullException(nameof(settings), "Target is null."),