From 2c1d297f27c79c3b89506c2049374c4b74add2b1 Mon Sep 17 00:00:00 2001 From: Hirmay Sandesara <56473003+Hirmay@users.noreply.github.com> Date: Sat, 22 Jun 2024 23:02:45 +0530 Subject: [PATCH] Update qiskit/circuit/library/data_preparation/state_preparation.py oh that's interesting...I didn't know that. Thanks for the info! Co-authored-by: Julien Gacon --- qiskit/circuit/library/data_preparation/state_preparation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qiskit/circuit/library/data_preparation/state_preparation.py b/qiskit/circuit/library/data_preparation/state_preparation.py index feaf85500bfe..be0a5379fd04 100644 --- a/qiskit/circuit/library/data_preparation/state_preparation.py +++ b/qiskit/circuit/library/data_preparation/state_preparation.py @@ -444,7 +444,7 @@ class UniformSuperpositionGate(Gate): def __init__( self, num_superpos_states: int = 2, - num_qubits: Optional[int] = None, + num_qubits: int | None = None, ): r""" Args: