


from ...configuration_utils import PretrainedConfig
from ...utils import logging


_snake_case			 =	logging.get_logger(__name__)

_snake_case			 =	{
    '''google/vivit-b-16x2-kinetics400''': (
        '''https://huggingface.co/google/vivit-b-16x2-kinetics400/resolve/main/config.json'''
    ),
    # See all Vivit models at https://huggingface.co/models?filter=vivit
}
class       UpperCAmelCase_   (   UpperCamelCase       ):

   '''simple docstring'''




   __A					: Optional[Any]							=						"vivit"






   def __init__(						self		,							__A=224		,							__A=32		,							__A=[2, 16, 16]		,							__A=3		,							__A=768		,							__A=12		,							__A=12		,							__A=3072		,							__A="gelu_fast"		,							__A=0.0		,							__A=0.0		,							__A=0.02		,							__A=1e-06		,							__A=True		,							**__A		,							):






     """simple docstring"""





     lowerCamelCase					:   Optional[int]       =							hidden_size
     lowerCamelCase					:   int       =							num_hidden_layers
     lowerCamelCase					:   List[Any]       =							num_attention_heads
     lowerCamelCase					:   Optional[int]       =							intermediate_size
     lowerCamelCase					:   Any       =							hidden_act
     lowerCamelCase					:   Optional[int]       =							hidden_dropout_prob
     lowerCamelCase					:   List[str]       =							attention_probs_dropout_prob
     lowerCamelCase					:   Optional[Any]       =							initializer_range
     lowerCamelCase					:   Dict       =							layer_norm_eps

     lowerCamelCase					:   Dict       =							image_size
     lowerCamelCase					:   str       =							num_frames
     lowerCamelCase					:   Tuple       =							tubelet_size
     lowerCamelCase					:   Dict       =							num_channels
     lowerCamelCase					:   Optional[Any]       =							qkv_bias

     super().__init__(**lowerCamelCase_					)






"""simple docstring"""


import qiskit



def   _A					(	_a	:						int     ,   _a	:						int				):



      """simple docstring"""






      A				  =		qiskit.Aer.get_backend("""aer_simulator"""				)

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

      # Apply X (NOT) Gate to Qubits 0 & 1
      circuit.x(0				)
      circuit.x(1				)

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

      # Execute the circuit on the qasm simulator
      A				  =		qiskit.execute(_a     ,   _a     ,   shots=1_0_0_0				)

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


if __name__ == "__main__":
  UpperCAmelCase													=single_qubit_measure(2, 2)
  print(f"""Total count for various states are: {counts}""")




