generated from CQCL/pytemplate
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* routing integration * adding h1-2 --------- Co-authored-by: Neal Erickson <[email protected]>
- Loading branch information
1 parent
d086d37
commit c0605d8
Showing
10 changed files
with
79 additions
and
51 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
File renamed without changes.
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 |
---|---|---|
@@ -1,9 +1,32 @@ | ||
from enum import Enum | ||
|
||
from pytket.phir.machine import Machine | ||
|
||
|
||
class QtmMachine(Enum): | ||
"""Available machine architectures.""" | ||
|
||
H1_1 = "H1-1" | ||
H1_2 = "H1-2" | ||
H2_1 = "H2-1" | ||
|
||
|
||
QTM_MACHINES_MAP = { | ||
QtmMachine.H1_1: Machine( | ||
size=20, | ||
tq_options={0, 2, 4, 6, 8, 10, 12, 14, 16, 18}, | ||
# need to get better timing values for below | ||
# but will have to look them up in hqcompiler | ||
tq_time=3.0, | ||
sq_time=1.0, | ||
qb_swap_time=2.0, | ||
), | ||
QtmMachine.H1_2: Machine( | ||
size=12, | ||
tq_options={0, 2, 4, 6, 8, 10}, | ||
# need to get better timing values for below | ||
# but will have to look them up in hqcompiler | ||
tq_time=3.0, | ||
sq_time=1.0, | ||
qb_swap_time=2.0, | ||
), | ||
} |
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
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