Skip to content

Commit

Permalink
Duffing system model generators for pulse simulator (Qiskit#516)
Browse files Browse the repository at this point in the history
* Created new file for helper functions for creating HamiltonianModel and PulseSystemModel objects for duffing oscillator systems

* increased max shots in pulse_simulator

* added PulseSystemModel.control_channel_index() along with tests
  • Loading branch information
DanPuzzuoli authored and chriseclectic committed Jan 23, 2020
1 parent 3418939 commit 93052f2
Show file tree
Hide file tree
Showing 7 changed files with 1,411 additions and 6 deletions.
386 changes: 386 additions & 0 deletions example/duffing_model_example.ipynb

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions example/pulse_sim.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@
"name": "stderr",
"output_type": "stream",
"text": [
"/Users/dpuzzuoli/Documents/projects/qiskit-terra/qiskit/providers/models/pulsedefaults.py:166: UserWarning: `qubit_freq_est` and `meas_freq_est` now have units of Hertz(Hz) rather than gigahertz(GHz).\n",
"/Users/dpuzzuoli/anaconda3/envs/QiskitDev/lib/python3.7/site-packages/qiskit/providers/models/pulsedefaults.py:155: UserWarning: `qubit_freq_est` and `meas_freq_est` now have units of Hertz(Hz) rather than gigahertz(GHz).\n",
" warnings.warn('`qubit_freq_est` and `meas_freq_est` now have units of '\n",
"/Users/dpuzzuoli/Documents/projects/qiskit-terra/qiskit/providers/models/backendconfiguration.py:363: UserWarning: `dt` and `dtm` now have units of seconds(s) rather than nanoseconds(ns).\n",
"/Users/dpuzzuoli/anaconda3/envs/QiskitDev/lib/python3.7/site-packages/qiskit/providers/models/backendconfiguration.py:356: UserWarning: `dt` and `dtm` now have units of seconds(s) rather than nanoseconds(ns).\n",
" warnings.warn('`dt` and `dtm` now have units of seconds(s) rather '\n"
]
}
Expand Down
3 changes: 2 additions & 1 deletion qiskit/providers/aer/backends/pulse_simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,12 @@ class PulseSimulator(AerBackend):
'coupling_map': None,
'url': 'https://github.com/Qiskit/qiskit-aer',
'simulator': True,
'meas_levels': [0, 1, 2],
'local': True,
'conditional': True,
'open_pulse': True,
'memory': False,
'max_shots': 50000,
'max_shots': 10**6,
'description': 'A pulse-based Hamiltonian simulator',
'gates': [],
'basis_gates': []
Expand Down
Loading

0 comments on commit 93052f2

Please sign in to comment.