quchip.analysis.vna

Continuous-wave scattering through declared Markovian ports.

Classes

PortTone(port, freq, amplitude, _index)

A fixed coherent input field entering through one declared port.

VNA(chip, *, input, outputs)

Sweep one input port and report complex output-field response.

class quchip.analysis.vna.PortTone(port, freq, amplitude, _index)[source]

Bases: object

A fixed coherent input field entering through one declared port.

Parameters:
port: str
freq: Any
amplitude: Any
class quchip.analysis.vna.VNA(chip, *, input, outputs)[source]

Bases: object

Sweep one input port and report complex output-field response.

Parameters:
  • chip (Any)

  • input (Any)

  • outputs (list[Any] | tuple[Any, ...])

pump(port, *, freq, amplitude)[source]

Add a fixed background tone and return its variation handle.

Parameters:
Return type:

PortTone

vary(tone, parameter, values)[source]

Create a sweep axis for one fixed tone’s frequency or amplitude.

Parameters:
Return type:

Sweep

static zip(*variations)[source]

Pair tone variations element by element.

Parameters:

variations (Sweep)

Return type:

ZippedSweep

sweep(frequencies, *variations, amplitude=None, options=None, progress=False)[source]

Compute differential or finite-amplitude scattering response.

Parameters:
Return type:

SParameterResult

output_spectrum(output, *, frequencies, options=None)[source]

Return the normally ordered output fluctuation spectrum.

Frequencies are offsets in GHz from the stationary tone frame. The coherent carrier is reported separately because it is a delta peak, not a finite sampled spectral density.

Parameters:
  • output (Any)

  • frequencies (Any)

  • options (dict | None)

Return type:

OutputSpectrumResult

g1(output, delays, *, input=None, options=None)[source]

Return normalized first-order output coherence.

Parameters:
  • output (Any)

  • delays (Any)

  • input (Any | None)

  • options (dict | None)

Return type:

OutputCorrelationResult

g2(output, delays, *, input=None, options=None)[source]

Return normalized second-order output intensity correlation.

Parameters:
  • output (Any)

  • delays (Any)

  • input (Any | None)

  • options (dict | None)

Return type:

OutputCorrelationResult