Skip to content

Instantly share code, notes, and snippets.

@wshanks
wshanks / benchmark.py
Last active May 22, 2024 21:22
Limited transpilation benchmarking
from math import pi
from time import perf_counter
from qiskit import QuantumCircuit, QuantumRegister, pulse, transpile
from qiskit.circuit import Gate
from qiskit.circuit.equivalence_library import SessionEquivalenceLibrary as sel
from qiskit.pulse.calibration_entries import CalibrationPublisher
from qiskit.transpiler import PassManager
from qiskit.transpiler.passes import (
ApplyLayout,
@wshanks
wshanks / gist:ceb78222de90bf41b41bca98663582f1
Last active January 30, 2024 23:49
qiskit-constraints.txt
qiskit>=1
qiskit-terra>=1
@wshanks
wshanks / distrobox-terminal-profile.sh
Created January 9, 2024 17:48 — forked from 89luca89/distrobox-terminal-profile.sh
Create gnome-terminal profile + gnome shortcut for distroboxes
#!/bin/sh
# SPDX-License-Identifier: GPL-3.0-only
#
# This file is part of the distrobox project:
# https://github.com/89luca89/distrobox
#
# Copyright (C) 2021 distrobox contributors
#
# distrobox is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 3
@wshanks
wshanks / reset.ipynb
Created August 24, 2023 19:06
qiskit-aer's results appear correlated when resets are used
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@wshanks
wshanks / 00.options.out
Created January 31, 2018 19:09
systemd_234_20180131
systemd
@wshanks
wshanks / noscript.js
Created November 23, 2015 06:23
NoScript Integration plugin for Pentadactyl
/*
* Copyright ©2010-2014 Kris Maglione <maglione.k at Gmail>
* Distributable under the terms of the MIT license.
*
* Documentation is at the tail of this file.
*/
"use strict";
if (!("noscriptOverlay" in window)) {
if (!userContext.noscriptIgnoreMissing)
@wshanks
wshanks / DSDT.dsl
Created April 5, 2015 15:41
Lenovo Z50-70 acpidump dsdt.dsl
/*
* Intel ACPI Component Architecture
* AML Disassembler version 20140926-64 [Oct 16 2014]
* Copyright (c) 2000 - 2014 Intel Corporation
*
* Disassembly of DSDT.aml, Sat Apr 4 23:04:25 2015
*
* Original Table Header:
* Signature "DSDT"
* Length 0x0000F4BB (62651)