Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pulse_lib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
QuTech QDLabs
pulse_lib
Commits
b08a4dd0
Commit
b08a4dd0
authored
2 years ago
by
Sander Snoo
Browse files
Options
Downloads
Patches
Plain Diff
updated API doc
parent
e57aad03
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pulse_lib/base_pulse.py
+4
-2
4 additions, 2 deletions
pulse_lib/base_pulse.py
with
4 additions
and
2 deletions
pulse_lib/base_pulse.py
+
4
−
2
View file @
b08a4dd0
...
...
@@ -366,7 +366,9 @@ class pulselib:
def
set_iq_lo
(
self
,
iq_channel_name
:
str
,
lo
:
Union
[
Parameter
,
float
])
->
None
:
'''
Sets the LO frequency (parameter) for the IQ channel.
Args:
iq_channel_name: name of IQ channel
lo: qcodes parameter for LO frequency or float value [Hz]
'''
self
.
IQ_channels
[
iq_channel_name
].
LO_parameter
=
lo
...
...
@@ -386,7 +388,7 @@ class pulselib:
virtual_channel_name (str) : channel name (e.g. qubit_1)
LO_freq (float) : frequency of the qubit when not driving and default for driving.
correction_phase (float) : phase in rad added to Q component of IQ channel
correction_gain (float) : correction of I and Q amplitude
correction_gain (float
,float
) : correction of I and Q amplitude
"""
iq_channel
=
self
.
IQ_channels
[
IQ_channel_name
]
qubit
=
QubitChannel
(
qubit_channel_name
,
reference_frequency
,
iq_channel
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment