'''simple docstring'''

import qiskit
def       __UpperCamelCase	(       UpperCAmelCase = 2					):
 lowercase__    :   List[str]						= qubits

 # Using Aer's simulator
 lowercase__    :   Any						= qiskit.Aer.get_backend('''aer_simulator'''					)

 # Creating a Quantum Circuit acting on the q register
 lowercase__    :   List[str]						= qiskit.QuantumCircuit(UpperCAmelCase		,					UpperCAmelCase					)

 # Adding a H gate on qubit 0 (now q0 in superposition)
 circuit.h(0					)

 for i in range(1		,					UpperCAmelCase					):
  # Adding CX (CNOT) gate
  circuit.cx(i - 1		,					UpperCAmelCase					)

 # Mapping the quantum measurement to the classical bits
 circuit.measure(list(range(UpperCAmelCase					)					)		,					list(range(UpperCAmelCase					)					)					)

 # Now measuring any one qubit would affect other qubits to collapse
 # their super position and have same state as the measured one.

 # Executing the circuit on the simulator
 lowercase__    :   Tuple						= qiskit.execute(UpperCAmelCase		,					UpperCAmelCase		,					shots=1000					)

 return job.result().get_counts(UpperCAmelCase					)


if __name__ == "__main__":
  print(F'Total count for various states are: {quantum_entanglement(3)}')


'''simple docstring'''

def       __UpperCamelCase	(       UpperCAmelCase					):
 if not all(x.isalpha() for x in string					):
  raise ValueError('''String must only contain alphabetic characters.'''					)

 lowercase__    :   Tuple						= sorted(string.lower()					)
 return len(UpperCAmelCase					) == len(set(UpperCAmelCase					)					)


if __name__ == "__main__":
  __a:			Union[str, Any]	       =       input("""Enter a string """).strip()

  __a:			Tuple	       =       is_isogram(input_str)
  print(F'{input_str} is {"an" if isogram else "not an"} isogram.')

