Note

This page was generated from circuit-examples//A.Qubits//09-JJ-Manhattan.ipynb.

Josephson Junction (Manhattan)#

We’ll be creating a Manhattan style Josephson Junction.

[1]:
# So, let us dive right in. For convenience, let's begin by enabling
# automatic reloading of modules when they change.
%load_ext autoreload
%autoreload 2
[2]:
import qiskit_metal as metal
from qiskit_metal import designs, draw
from qiskit_metal import MetalGUI, Dict, open_docs
[3]:
# Each time you create a new quantum circuit design,
# you start by instantiating a QDesign class.

# The design class `DesignPlanar` is best for 2D circuit designs.

design = designs.DesignPlanar()
[4]:
#Launch Qiskit Metal GUI to interactively view, edit, and simulate QDesign: Metal GUI
gui = MetalGUI(design)

A manhattan style josephson junction#

You can create a manhattan style josephson junction from the QComponent Library, qiskit_metal.qlibrary.qubits. jj_manhattan.py is the file containing our josephson junction so jj_manhattan is the module we import. The jj_manhattan class is our josephson junction. Like all quantum components, jj_manhattan inherits from QComponent.

[5]:
from qiskit_metal.qlibrary.qubits.JJ_Manhattan import jj_manhattan

# Be aware of the default_options that can be overridden by user.
design.overwrite_enabled = True
jj2 = jj_manhattan(design, 'JJ2', options=dict(pos_x="0.1", pos_y="0.0"))
gui.rebuild()
gui.autoscale()
gui.zoom_on_components(['JJ2'])
[6]:
# Save screenshot as a .png formatted file.

gui.screenshot()
../../_images/circuit-examples_A.Qubits_09-JJ-Manhattan_7_0.png
[7]:
# Screenshot the canvas only as a .png formatted file.
gui.figure.savefig('shot.png')

from IPython.display import Image, display
_disp_ops = dict(width=500)
display(Image('shot.png', **_disp_ops))

../../_images/circuit-examples_A.Qubits_09-JJ-Manhattan_8_0.png

Closing the Qiskit Metal GUI#

[8]:
gui.main_window.close()
[8]:
True
[ ]:

For more information, review the Introduction to Quantum Computing and Quantum Hardware lectures below

  • Superconducting Qubits I: Quantizing a Harmonic Oscillator, Josephson Junctions Part 1
Lecture Video Lecture Notes Lab
  • Superconducting Qubits I: Quantizing a Harmonic Oscillator, Josephson Junctions Part 2
Lecture Video Lecture Notes Lab
  • Superconducting Qubits I: Quantizing a Harmonic Oscillator, Josephson Junctions Part 3
Lecture Video Lecture Notes Lab
  • Superconducting Qubits II: Circuit Quantum Electrodynamics, Readout and Calibration Methods Part 1
Lecture Video Lecture Notes Lab
  • Superconducting Qubits II: Circuit Quantum Electrodynamics, Readout and Calibration Methods Part 2
Lecture Video Lecture Notes Lab
  • Superconducting Qubits II: Circuit Quantum Electrodynamics, Readout and Calibration Methods Part 3
Lecture Video Lecture Notes Lab