def test_run_local_simulator_unitary(self): compiled_circuit = openquantumcompiler.compile(self.qc.qasm()) quantum_job = jobprocessor.QuantumJob( compiled_circuit, doCompile=False, backend='local_unitary_simulator') jobprocessor.run_local_simulator(quantum_job.qobj)
def testrun_local_simulator_compile(self): qjob = jobp.QuantumJob(self.qasm_text, doCompile=True, backend='local_qasm_simulator') jobp.run_local_simulator(qjob.qobj)
def testrun_local_simulator(self): compiled_circuit = openquantumcompiler.compile(self.qc.qasm()) qjob = jobp.QuantumJob(compiled_circuit, doCompile=False, backend='local_qasm_simulator') jobp.run_local_simulator(qjob.qobj)
def test_run_local_simulator_compile(self): quantum_job = jobprocessor.QuantumJob(self.qasm_text, doCompile=True, backend='local_qasm_simulator') jobprocessor.run_local_simulator(quantum_job.qobj)