question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

QasmQobj includes pulse job information

See original GitHub issue

Information

  • Qiskit Terra version: master
  • Python version:
  • Operating system:

What is the current behavior?

QasmQobj includes pulse specific fields (meas_lo_freq', 'schedule_los, etc):

QasmQobj(config=QasmQobjConfig(initial_layout=[5, 6], meas_level=2, meas_lo_freq=[], meas_lo_range=[], meas_return=‘avg’, memory=False, memory_slot_size=100, memory_slots=2, n_qubits=2, parameter_binds=[], qubit_lo_freq=[], qubit_lo_range=[], schedule_los=[], shots=1024), experiments=[QasmQobjExperiment(config=QasmQobjExperimentConfig(memory_slots=2, n_qubits=2), header=QobjExperimentHeader(clbit_labels=[[‘c’, 0], [‘c’, 1]], creg_sizes=[[‘c’, 2]], memory_slots=2, n_qubits=2, name=‘bell’, qreg_sizes=[[‘q’, 2]], qubit_labels=[[‘q’, 0], [‘q’, 1]]), instructions=[QasmQobjInstruction(name=‘h’, qubits=[0]), QasmQobjInstruction(name=‘cx’, qubits=[0, 1]), QasmQobjInstruction(memory=[0], name=‘measure’, qubits=[0]), QasmQobjInstruction(memory=[1], name=‘measure’, qubits=[1])])], header=QobjHeader(backend_name=‘ibmq_16_melbourne’, backend_version=‘1.0.0’), qobj_id=‘68127e25-a6b5-4cb6-9c32-3ce16dea9223’, schema_version=‘1.1.0’, type=‘QASM’)

Steps to reproduce the problem

What is the expected behavior?

Suggested solutions

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
ajavadiacommented, Jul 16, 2019

seed_simulator should be for both as we will soon have a pulse simulator.

0reactions
taalexandercommented, Jul 18, 2019

By three I meant there would be a

  • _parse_common_run_args (common to circuits and pulse)
  • _parse_circuit_args (common to circuits)
  • _parse_pulse_args (common to pulse)
Read more comments on GitHub >

github_iconTop Results From Across the Web

IBMQJob - Qiskit
Return whether the job has been cancelled. Return the circuits or pulse schedules for this job.
Read more >
qiskit - QV circuits fail to execute in real devices
IBMQBackend.run() method now takes one or more QuantumCircuit or Schedule . Use of QasmQobj and PulseQobj is now deprecated.
Read more >
IBM Q Commercial System Updates
Thomas Alexander will discuss fine-tuning quantum experiments with pulses on IBM ... of the QasmQobj subclass will no longer be supported (QASM has...
Read more >
Module backend_qx — Quantum Inspire documentation
The execution is asynchronous, and a handle to a job instance is returned. Parameters. run_input (Union[QasmQobj, QuantumCircuit, List[QuantumCircuit]]) – An ...
Read more >
qiskit.compiler.assemble Example - Program Talk
assertEqual(result.results[0].header.some_field, 'extra info') def test_job_qobj(self): ... For OpenPulse jobs, only measurement level 2 supports this option.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found