"""simple docstring"""



import doctest
from collections import deque

import numpy as np



class      _A	:




    """simple docstring"""




    def __init__(		self							:     int    )    ->       None:
         __snake_case				=							[2, 1, 2, -1]
         __snake_case				=							[1, 2, 3, 4]







    def  lowercase					(		self							:     List[str]    )    ->       list[float]:
         __snake_case				=							len(self.first_signal    )
         __snake_case				=							len(self.second_signal    )

         __snake_case				=							max(A_	,      A_    )

         # create a zero matrix of max_length x max_length
         __snake_case				=							[[0] * max_length for i in range(A_    )]

         # fills the smaller signal with zeros to make both signals of same length
         if length_first_signal < length_second_signal:
              self.first_signal += [0] * (max_length - length_first_signal)
         elif length_first_signal > length_second_signal:
              self.second_signal += [0] * (max_length - length_second_signal)
         for i in range(A_    ):
              __snake_case				=							deque(self.second_signal    )
              rotated_signal.rotate(A_    )
              for j, item in enumerate(A_    ):
                   matrix[i][j] += item

        # multiply the matrix with the first signal
         __snake_case				=							np.matmul(np.transpose(A_    )	,      np.transpose(self.first_signal    )    )

         # rounding-off to two decimal places
         return [round(A_	,      2    ) for i in final_signal]


if __name__ == "__main__":
       doctest.testmod()
"""simple docstring"""



import qiskit





def    SCREAMING_SNAKE_CASE       (     snake_case,      snake_case):
     __snake_case				=							qiskit.Aer.get_backend('''aer_simulator''')

     # Create a Quantum Circuit acting on the q register
     __snake_case				=							qiskit.QuantumCircuit(snake_case,      snake_case)

     # Map the quantum measurement to the classical bits
     circuit.measure([0],      [0])

     # Execute the circuit on the simulator
     __snake_case				=							qiskit.execute(snake_case,      snake_case,      shots=10_00)

     # Return the histogram data of the results of the experiment.
     return job.result().get_counts(snake_case)


if __name__ == "__main__":
       print(F"""Total count for various states are: {single_qubit_measure(1, 1)}""")