def test_run_local_backend_compile(self): quantum_job = QuantumJob(self.qasm_text, do_compile=True, backend='local_qasm_simulator') jobprocessor.run_local_backend(quantum_job.qobj)
def test_run_local_backend_unitary(self): compiled_circuit = openquantumcompiler.compile(self.qc.qasm()) quantum_job = QuantumJob(compiled_circuit, do_compile=False, backend='local_unitary_simulator') jobprocessor.run_local_backend(quantum_job.qobj)