Skip to content

Commit d962498

Browse files
committed
update copyright year
1 parent 7cfb91c commit d962498

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

qiskit/quantum_info/operators/symplectic/base_pauli.py

-1
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,6 @@ def _to_matrix(z, x, phase=0, group_phase=False, sparse=False):
449449
parity = _PARITY[np.bitwise_xor.reduce(mat_u8, axis=1)]
450450

451451
data = coeff * parity
452-
453452
if sparse:
454453
# Return sparse matrix
455454
from scipy.sparse import csr_matrix

test/python/quantum_info/operators/symplectic/test_sparse_pauli_op.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This code is part of Qiskit.
22
#
3-
# (C) Copyright IBM 2017, 2020.
3+
# (C) Copyright IBM 2017, 2023.
44
#
55
# This code is licensed under the Apache License, Version 2.0. You may
66
# obtain a copy of this license in the LICENSE.txt file in the root directory

0 commit comments

Comments
 (0)