def draw_bottom_left_resonator(self, coupling_length=330e3):
        # frequency from Sonnet = 7.2103 GHz
        # Qc = 5160
        coupling_length = 330e3
        pars = self.get_sps_params()
        pars_squid = self.get_dc_squid_params()
        res_to_line = 5e3  # distance between a resonator and a line
        # Moving a capacitive coupling to the top of a qubit
        pars['Z1'], pars['Z2'] = pars['Z2'], pars['Z1']
        pars['d_alpha1'], pars['d_alpha2'] = pars['d_alpha2'], pars['d_alpha1']
        pars['width1'], pars['width2'] = pars['width2'], pars['width1']
        pars['gap1'], pars['gap2'] = pars['gap2'], pars['gap1']

        worm_pos = DPoint(
            self.cpw.start.x + res_to_line + 2 *
            (self.Z.width / 2 + self.Z.gap), self.chip_y / 2)
        worm3 = self.draw_one_resonator(worm_pos,
                                        7.4,
                                        coupling_length,
                                        no_neck=True,
                                        vert=False,
                                        trans_in=Trans.R270)
        q_pos = worm3.end - DPoint(0, pars['r_out'] - worm3.Z.b)
        mq3 = SFS_Csh_emb(q_pos, pars, pars_squid)
        mq3.place(self.cell, self.layer_ph, self.layer_el)
Exemplo n.º 2
0
    def draw_mixing_qubit(self):
        p = self.cpw.connections
        # Mixing qubit and dc-SQUID parameters
        pars = self.get_mixing_qubit_params()
        pars_squid = self.get_dc_squid_params()
        pars_coupling = self.get_mixing_qubit_coupling_params()

        # Drawing the qubit near the flux line
        pos = DPoint(p[0].x + pars_coupling['to_line'] + pars['r_out'],
                     (p[0].y + p[1].y) / 2)  # Position of the qubit
        # mq1 = SFS_Csh_par(p, pars, pars_squid, pars_coupling)
        mq1 = SFS_Csh_emb(pos, pars, pars_squid, squid_pos=1)
        mq1.place(self.cell, self.layer_ph, self.layer_el)
    def draw_qubit(self):
        # Mixing qubit and dc-SQUID parameters
        pars = self.get_resonator_qubit_params()
        pars_squid = self.get_dc_squid_params()

        # Drawing the qubit near the probe line
        pos = DPoint(self.chip_x / 2, self.chip_y / 2)  # Position of the qubit
        rq1 = SFS_Csh_emb(pos, pars, pars_squid)
        rq1.place(self.cell, self.layer_ph, self.layer_el)

        # Draw line at the bottom
        start = rq1.connections[
            1]  #DPoint(self.chip_x/2, self.chip_y/2 - pars['r_out'])
        end = DPoint(self.chip_x / 2, 0)
        cpw = CPW(self.Z.width, self.Z.gap, start, end)
        cpw.place(self.cell, self.layer_ph)
    def draw_top_right_resonator(self, coupling_length=350e3):
        # frequency from Sonnet = 7.0251 GHz
        # Qc = 4860
        coupling_length = 350e3
        pars = self.get_sps_params()
        pars_squid = self.get_dc_squid_params()
        res_to_line = 5e3  # distance between a resonator and a line

        worm_pos = DPoint(
            self.chip_x / 2, self.cpw.start.y - res_to_line - 2 *
            (self.Z.width / 2 + self.Z.gap))
        worm2 = self.draw_one_resonator(worm_pos,
                                        7,
                                        coupling_length,
                                        extra_neck_length=pars['r_out'],
                                        trans_in=Trans.R180)
        q_pos = worm2.end + DPoint(0,
                                   pars['r_out'] - worm2.Z.b)  # qubit position
        mq2 = SFS_Csh_emb(q_pos, pars, pars_squid)
        mq2.place(self.cell, self.layer_ph, self.layer_el)