/
ibmq_melbourne.py
35 lines (31 loc) · 1.28 KB
/
ibmq_melbourne.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
""" Specification of IBM Q Melbourne """
#***************************************************************************************************
# Copyright 2015, 2019 National Technology & Engineering Solutions of Sandia, LLC (NTESS).
# Under the terms of Contract DE-NA0003525 with NTESS, the U.S. Government retains certain rights
# in this software.
# Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
# in compliance with the License. You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0 or in the LICENSE file in the root pyGSTi directory.
#***************************************************************************************************
qubits = ['Q' + str(x) for x in range(14)]
two_qubit_gate = 'Gcnot'
edgelist = [('Q1', 'Q0'),
('Q1', 'Q2'),
('Q2', 'Q3'),
('Q4', 'Q3'),
('Q5', 'Q4'),
('Q5', 'Q6'),
('Q6', 'Q8'),
('Q7', 'Q8'),
('Q9', 'Q8'),
('Q9', 'Q10'),
('Q11', 'Q10'),
('Q11', 'Q12'),
('Q13', 'Q12'),
('Q13', 'Q1'),
('Q12', 'Q2'),
('Q11', 'Q3'),
('Q4', 'Q10'),
('Q5', 'Q9')
]
spec_format = 'ibmq-v2019'