#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Fri Jan 31 14:10:59 2020 @author: kidiki """ from qiskit import QuantumCircuit qc = QuantumCircuit(2, 2) qc.h(0) qc.cx(0, 1) qc.measure([0, 1], [0, 1]) print(qc)