-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Catch up to BDK for IonQ error mitigation, image URIs, and new a…
…dditionalMetadata (#66) * Catch up to IonQ error mitigation and new Jobs images tags * Fix integ tests * More tests and implementation for queue depth * Add integ tests and methods for queue info * Add support and tests for error mitigation * Add some more logging for docker commands and fix call to pull_image
- Loading branch information
1 parent
f42a5ec
commit de79455
Showing
20 changed files
with
420 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
abstract type ErrorMitigation end | ||
|
||
struct DeBias <: ErrorMitigation end | ||
|
||
ir(db::DeBias) = [Debias(StructTypes.defaults(Debias)[:type])] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
@enum QueueType Normal Priority | ||
QueueTypeDict = Dict("Normal"=>Normal, "Priority"=>Priority) | ||
QueueType(s::String) = QueueTypeDict[s] | ||
|
||
struct QueueDepthInfo | ||
quantum_tasks::Dict{QueueType, String} | ||
jobs::String | ||
end | ||
Base.:(==)(ix::QueueDepthInfo, iy::QueueDepthInfo) = (ix.jobs == iy.jobs && ix.quantum_tasks == iy.quantum_tasks) | ||
|
||
mutable struct QuantumTaskQueueInfo | ||
queue_type::QueueType | ||
queue_position::String | ||
message::String | ||
end | ||
QuantumTaskQueueInfo(queue_type::QueueType) = QuantumTaskQueueInfo(queue_type, "", "") | ||
|
||
mutable struct HybridJobQueueInfo | ||
queue_position::String | ||
message::String | ||
end | ||
HybridJobQueueInfo() = HybridJobQueueInfo("", "") |
Oops, something went wrong.