File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
pytket-mbqc-py/pytket_mbqc_py Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -81,21 +81,22 @@ def add_output_vertex(self) -> int:
81
81
self .output_vertices .append (index )
82
82
return index
83
83
84
- def get_plus_state (self ,t_multiple : int = 0 ) -> Qubit :
84
+ def get_plus_state (self ,z_multiple : int = 0 ) -> Qubit :
85
85
qubit = super ().get_qubit ()
86
86
index = self ._add_vertex (qubit = qubit )
87
87
88
88
89
89
self .Reset (qubit = qubit )
90
90
self .H (qubit = qubit )
91
- [self .T (qubit = qubit ) for _ in range (t_multiple )]
91
+ [self .Z (qubit = qubit ) for _ in range (z_multiple )]
92
92
93
93
self .add_c_setreg (value = index , arg = self .index_reg )
94
94
self .add_wasm_to_reg (
95
95
"update_z_correction" ,
96
96
self .wfh ,
97
- [self .qubit_init_t_mult_reg [self .vertex_qubit [index ]], t_multiple ],
98
- [],)
97
+ [self .qubit_init_t_mult_reg [self .vertex_qubit [index ]], z_multiple ],
98
+ [],
99
+ )
99
100
return qubit
100
101
101
102
def add_graph_vertex (self ,t_multiple : int = 0 ) -> int :
You can’t perform that action at this time.
0 commit comments