
'''simple docstring'''


from __future__ import annotations




def lowercase_	(   _lowercase				)     ->							list[int]:
					'''simple docstring'''

					return [ord(_lowercase				) - 96 for elem in plain]




def lowercase_	(   _lowercase				)     ->							str:
					'''simple docstring'''

					return "".join(chr(elem + 96				) for elem in encoded				)




def lowercase_	(   )     ->							None:
					'''simple docstring'''

					lowerCamelCase_					:      List[str]     =		encode(input('''-> '''				).strip().lower()				)
					print('''Encoded: '''			,       _lowercase				)
					print('''Decoded:'''			,       decode(_lowercase				)				)


if __name__ == "__main__":
					main()




'''simple docstring'''


import qiskit




def lowercase_	(   _lowercase			,       _lowercase				)     ->							qiskit.result.counts.Counts:
					'''simple docstring'''

					lowerCamelCase_					:      Optional[Any]     =		qiskit.Aer.get_backend('''aer_simulator'''				)

					# Create a Quantum Circuit acting on the q register
					lowerCamelCase_					:      Optional[int]     =		qiskit.QuantumCircuit(_lowercase			,       _lowercase				)

					# 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
					lowerCamelCase_					:      Optional[int]     =		qiskit.execute(_lowercase			,       _lowercase			,       shots=1_000				)

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


if __name__ == "__main__":
					__lowercase							:   List[Any]					=     single_qubit_measure(2, 2)
					print(f'Total count for various states are: {counts}')


