Skip to content

Commit

Permalink
Update circuit_serializer_test.py
Browse files Browse the repository at this point in the history
  • Loading branch information
nishitkshah committed Nov 14, 2023
1 parent c7ad27c commit d184227
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ def circuit_proto(json: Dict, qubits: List[str]):
{
'measurementgate': {
'key': {'arg_value': {'string_value': 'iron'}},
'invert_mask': {'arg_value': {'bool_values': {'values': [True,]}}},
'invert_mask': {'arg_value': {'bool_values': {'values': [True]}}},
},
'qubit_constant_index': [0, 1],
}
Expand Down Expand Up @@ -638,7 +638,7 @@ def test_deserialize_wrong_types():
{
'measurementgate': {
'key': {'arg_value': {'float_value': 3.0}},
'invert_mask': {'arg_value': {'bool_values': {'values': [True,]}}},
'invert_mask': {'arg_value': {'bool_values': {'values': [True]}}},
},
'qubit_constant_index': [0],
},
Expand Down

0 comments on commit d184227

Please sign in to comment.