Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit 575bc8f

Browse files
committed
Runtime support for Quantinuum targets. (#943) (#953)
* Runtime support for Quantinuum targets. * Fix quantum machine factory.
1 parent ea32879 commit 575bc8f

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

src/Azure/Azure.Quantum.Client/Machine/QuantumMachineFactory.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ public static class QuantumMachineFactory
2929
var machineName =
3030
targetNameNormalized is null
3131
? null
32+
: targetNameNormalized.StartsWith("quantinuum.")
33+
? "Microsoft.Quantum.Providers.Quantinuum.Targets.QuantinuumQuantumMachine, Microsoft.Quantum.Providers.Honeywell"
3234
: targetNameNormalized.StartsWith("qci.")
3335
? "Microsoft.Quantum.Providers.QCI.Targets.QCIQuantumMachine, Microsoft.Quantum.Providers.QCI"
3436
: targetNameNormalized.StartsWith("ionq.")

src/Simulation/Core/EntryPointInfo.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,16 @@ public QCIEntryPointInfo(Type operation)
5353
: base(operation)
5454
{ }
5555
}
56+
57+
/// <summary>
58+
/// Base class containing information about an entry point
59+
/// for a Q# executable targeted for a Quantinuum quantum processor.
60+
/// </summary>
61+
public class QuantinuumEntryPointInfo<I, O>
62+
: EntryPointInfo<I, O>
63+
{
64+
public QuantinuumEntryPointInfo(Type operation)
65+
: base(operation)
66+
{ }
67+
}
5668
}

0 commit comments

Comments
 (0)