예제 #1
0
 def test_run_remote_simulator_compile(self):
     quantum_job = QuantumJob(self.qc,
                              do_compile=True,
                              backend='ibmqx_qasm_simulator')
     api = IBMQuantumExperience(self.QE_TOKEN, {"url": self.QE_URL},
                                verify=True)
     jobprocessor.run_remote_backend(quantum_job.qobj, api)
 def test_run_remote_simulator_compile(self):
     qjob = jobp.QuantumJob(self.qc, doCompile=True,
                            backend='ibmqx_qasm_simulator')
     api = IBMQuantumExperience(self.QE_TOKEN,
                                {"url": self.QE_URL},
                                verify=True)
     jobp.run_remote_backend(qjob.qobj, api)
예제 #3
0
 def test_run_remote_simulator(self):
     compiled_circuit = openquantumcompiler.compile(self.qc.qasm())
     quantum_job = QuantumJob(compiled_circuit,
                              do_compile=False,
                              backend='ibmqx_qasm_simulator')
     api = IBMQuantumExperience(self.QE_TOKEN, {"url": self.QE_URL},
                                verify=True)
     jobprocessor.run_remote_backend(quantum_job.qobj, api)
 def test_run_remote_simulator(self):
     compiled_circuit = openquantumcompiler.compile(self.qc.qasm())
     qjob = jobp.QuantumJob(compiled_circuit, doCompile=False,
                            backend='ibmqx_qasm_simulator')
     api = IBMQuantumExperience(self.QE_TOKEN,
                                {"url": self.QE_URL},
                                verify=True)
     jobp.run_remote_backend(qjob.qobj, api)