<jupyter_start><jupyter_text>import qiskit.tools.jupyter%qiskit_job_watcher<jupyter_code>job = execute(circuit, backend=qcomp)
from qiskit.tools.monitor import job_monitor
job_monitor(job)
result = job.result()
plot_histogram(result.get_counts(circuit))
def make_ghz3(shots,device):
    circuit = QuantumCircuit(3,3)
    circuit.h(0)
    circuit.cx(0,1)
    circuit.cx(1,2)
    circuit.measure([0,1,2], [0,1,2])
    IBMQ.load_account()
    provider = IBMQ.get_provider(hub = 'ibm-q')
    qcomp = provider.get_backend(device)
    execute(circuit, backend=qcomp, shots=shots) # shots is number of repitions of each circuit
    result = job.result()
    return result
make_ghz3(1024,'ibmq_ourense')<jupyter_output>Credentials are already in use. The existing account in the session will be replaced.
{'fraction_non_alphanumeric': 0.11683417085427136, 'fraction_numerical': 0.02386934673366834, 'mean_word_length': 5.376, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '505635', 'license': 'Apache-2.0', 'n_tokens_mistral': 294, 'n_tokens_neox': 286, 'n_words': 56, 'path': 'assignment-01/AbsoluteWIMPs/Assignment01.ipynb', 'repo_name': 'RafiehM/Ooc-prog_qc', 'size': '796'}