"""simple docstring"""



class      _A	:  # Public class to implement a graph




    """simple docstring"""




    def __init__(		self							:     List[str]	,      A_							:     int	,      A_							:     int	,      A_							:     list[list[bool]]    )    ->       None:
         __snake_case				=							row
         __snake_case				=							col
         __snake_case				=							graph
    def  lowercase					(		self							:     Optional[int]	,      A_							:     int	,      A_							:     int	,      A_							:     list[list[bool]]    )    ->       bool:
         return (
             0 <= i < self.ROW
             and 0 <= j < self.COL
             and not visited[i][j]
             and self.graph[i][j]
         )
    def  lowercase					(		self							:     int	,      A_							:     int	,      A_							:     int	,      A_							:     list[list[bool]]    )    ->       None:
         # Checking all 8 elements surrounding nth element
         __snake_case				=							[-1, -1, -1, 0, 0, 1, 1, 1]  # Coordinate order
         __snake_case				=							[-1, 0, 1, -1, 1, -1, 0, 1]
         __snake_case				=							True  # Make those cells visited
         for k in range(8    ):
              if self.is_safe(i + row_nbr[k]	,      j + col_nbr[k]	,      A_    ):
                   self.diffs(i + row_nbr[k]	,      j + col_nbr[k]	,      A_    )







    def  lowercase					(		self							:     List[str]    )    ->       int:  # And finally, count all islands.
         __snake_case				=							[[False for j in range(self.COL    )] for i in range(self.ROW    )]
         __snake_case				=							0
         for i in range(self.ROW    ):
              for j in range(self.COL    ):
                   if visited[i][j] is False and self.graph[i][j] == 1:
                        self.diffs(A_	,      A_	,      A_    )
                        count += 1
         return count
"""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)}""")